π Fix some bugs #31
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: Validate | |
on: | |
pull_request: | |
push: | |
jobs: | |
validate: | |
name: Validating Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: 'yarn' | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Check types and Build | |
run: yarn tsc --noEmit && NODE_ENV=PRODUCTION yarn run build | |
- name: Upload Canary Userscript | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Canary Userscript | |
path: dist/chibi.user.js |