Merge pull request #220 from pascalre/renovate/vscode-1.x-lockfile #687
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: github-action | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
env: | |
# renovate: depName=nodejs/node | |
NODE_VERSION: 20 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node ${{env.NODE_VERSION}} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- name: install | |
run: | | |
npm install | |
npm install -g yarn | |
npm install -g vsce | |
- name: lint | |
run: npm run lint | |
- name: static code analysis | |
run: npm run code-analysis | |
- name: test | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run coverage | |
- name: Report test coverage to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |