Fix Deploys: Move all Logic from load
to onMount
(#80)
#16
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: Tests | |
on: | |
push: # Branch pushes only, not tags | |
branches: | |
- "**" | |
workflow_call: # Allow other workflows to call this one | |
jobs: | |
lint: | |
name: npm run lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci | |
- run: npm run lint | |
check: | |
name: npm run check | |
needs: [lint] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci | |
- run: npm run check | |
unit: | |
name: npm run test:unit | |
needs: [check] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci | |
- run: npm run test:unit | |
build: | |
name: npm run build | |
needs: [check] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci | |
- run: npm run build |