build(deps-dev): bump @types/node from 20.11.25 to 20.12.7 #1195
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: Node CI | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: [push] | |
env: | |
CI: true | |
DISPLAY: ':99.0' | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} | |
COVERALLS_GIT_BRANCH: master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: export display | |
run: | | |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
echo ">>> Started xvfb" | |
- name: npm install | |
run: | | |
npm install | |
- name: npm build | |
run: | | |
npm run vscode:prepublish | |
- name: npm test | |
run: | | |
npm run test:integration | |
- name: npm coverage | |
if: github.ref == 'refs/heads/master' | |
run: | | |
npm run coveralls | |
- name: npm package standalone extension | |
if: github.ref == 'refs/heads/master' | |
run: | | |
npm i -g vsce | |
npm run package | |
- name: store artifact | |
if: github.ref == 'refs/heads/master' | |
uses: actions/upload-artifact@v2 | |
with: | |
name: php-import-checker-vscode-extension | |
path: ./*.vsix |