add devops task to repo #1
Workflow file for this run
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: azureDevOps-ext-ci | |
on: | |
pull_request: | |
paths: | |
- "ext/azuredevops/**" | |
- ".github/workflows/devops-ext-ci.yml" | |
branches: [main] | |
permissions: | |
actions: read | |
contents: read | |
id-token: write | |
jobs: | |
cspell-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- run: npm install -g cspell | |
- name: Spell check for vscode extension | |
run: cspell lint '**/*.ts' --config ./ext/vscode/.vscode/cspell.yaml --root ./ext/vscode --no-progress | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Install dependencies | |
run: | | |
npm install -g npm | |
npm ci --no-optional | |
working-directory: ./ext/azuredevops | |
- name: Test | |
run: npm install && npm test | |
working-directory: ./ext/azuredevops/setupAzd |