Merge pull request #535 from standard/add-to-project #546
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
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: 'Node.js CI' | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
ci: | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 15 | |
steps: | |
- uses: 'actions/checkout@v3' | |
- name: 'Use Node.js' | |
uses: 'actions/[email protected]' | |
with: | |
node-version: 'lts/*' | |
- name: 'Install dependencies' | |
run: 'npm install' | |
- name: 'Lint' | |
run: 'npm run lint' | |
- name: 'Package the extension' | |
run: 'npm run package' | |
- name: 'Test' | |
run: 'xvfb-run -a npm test' |