Fix linting errors to un-break build #439
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: GitHub Actions CI | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: npm install, build, and test | |
run: | | |
npm ci | |
npm run build --if-present | |
npm test --if-present | |
env: | |
CI: true | |
- name: publish artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: userscript | |
path: src/ |