Update dependency @types/vscode to v1.96.0 #561
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: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
unit-test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set Node.js 14 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
- name: Get NPM cache directory | |
id: npm-cache | |
run: | | |
echo "::set-output name=dir::$(npm config get cache)" | |
- name: Cache NPM | |
uses: actions/cache@v3.0.4 | |
with: | |
path: ${{ steps.npm-cache.outputs.dir }} | |
key: node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
node- | |
- name: Install dependencies | |
run: npm ci | |
- name: Test Linux | |
run: xvfb-run -a npm test | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set Node.js 14 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
- name: Get NPM cache directory | |
id: npm-cache | |
run: | | |
echo "::set-output name=dir::$(npm config get cache)" | |
- name: Cache NPM | |
uses: actions/cache@v3.0.4 | |
with: | |
path: ${{ steps.npm-cache.outputs.dir }} | |
key: node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
node- | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint |