Bump azure-pipelines-task-lib in /cantarus-polydeploy-client-installer #313
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI (build and package) | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
defaults: | |
run: | |
shell: pwsh | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: [10.x, 16.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
cache-dependency-path: | | |
cantarus-polydeploy-client-installer/package-lock.json | |
cantarus-polydeploy-client/package-lock.json | |
- name: npm install, package | |
run: | | |
cd cantarus-polydeploy-client | |
npm ci | |
cd ../cantarus-polydeploy-client-installer | |
npm ci | |
cd .. | |
./package.ps1 | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
path: "*.vsix" | |
if-no-files-found: error | |
name: "VSIX from Node.js ${{ matrix.node-version }} build" |