Upgrade cloudflare #30
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: Check | |
on: | |
pull_request: | |
branches: | |
- "main" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Linting | |
timeout-minutes: 15 | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Download deps | |
uses: bahmutov/npm-install@v1 | |
- name: Run frontend lint | |
run: | | |
npm run lint:ci | |
- name: Run frontend typecheck | |
run: | | |
npm run typecheck | |
test-build: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Download deps | |
uses: bahmutov/npm-install@v1 | |
- name: Run build | |
run: | | |
npm run build |