fix: actions proper windows guard #5
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 frontend | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '**.lock' | |
- '**.rs' | |
- '**.toml' | |
pull_request: | |
paths-ignore: | |
- '**.lock' | |
- '**.rs' | |
- '**.toml' | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
env: | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
tsc-eslint-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: latest | |
- name: Install modules | |
run: pnpm install | |
- name: Run esbuild | |
run: pnpm build:js | |
- name: Run ESLint | |
run: pnpm eslint ./src |