add deploy token #16
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: Source Code Check | |
on: | |
push: | |
jobs: | |
lint: | |
name: Run ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
cache: "npm" | |
- run: npm ci # It's better to use npm ci in CI/CD environments | |
- run: npm run lint:strict | |
# tsc: | |
# name: Run Type Check | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-node@v3 | |
# with: | |
# node-version: "18" | |
# cache: "npm" | |
# - run: npm ci | |
# - run: npm run typecheck | |
prettier: | |
name: Run Prettier Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
cache: "npm" | |
- run: npm ci | |
- run: npm run format:check |