Bump path-to-regexp from 6.2.1 to 6.3.0 in /docs (#1378) #1330
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
# https://code.visualstudio.com/api/working-with-extensions/continuous-integration | |
name: Node CI | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
ref: ${{ github.ref }} | |
- uses: actions/cache@v2 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: | | |
${{ steps.yarn-cache-dir-path.outputs.dir }} | |
'!**/.vscode-test' | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- env: | |
CXX: "g++-4.9" | |
CC: "gcc-4.9" | |
DISPLAY: ":99.0" | |
run: | | |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
yarn | |
- name: type check | |
run: | | |
yarn run test:tsc | |
- name: test | |
env: | |
CXX: "g++-4.9" | |
CC: "gcc-4.9" | |
DISPLAY: ":99.0" | |
JEST_CI: "true" | |
run: | | |
yarn test | |
yarn test:insiders --no-coverage | |
- name: build | |
env: | |
CXX: "g++-4.9" | |
CC: "gcc-4.9" | |
DISPLAY: ":99.0" | |
JEST_CI: "true" | |
run: | | |
yarn run build | |
yarn run pack:all | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: VSIX packages | |
path: ./*.vsix | |
- name: 'Upload coverage' | |
uses: actions/upload-artifact@v2 | |
with: | |
name: coverage.tar | |
path: ./coverage | |
retention-days: 2 | |
# - uses: codecov/codecov-action@v3 | |
# if: github.repository == 'mtxr/vscode-sqltools' | |
# with: | |
# flags: "extension" |