Skip to content

Commit

Permalink
ci: add check step
Browse files Browse the repository at this point in the history
to lint and test
  • Loading branch information
davidenke committed Oct 25, 2024
1 parent cb80f8c commit aef9be9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,34 @@ on:
workflow_dispatch:

jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.9.0

- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm lint

- name: Test
run: pnpm test

prepare:
needs: check
name: Prepare
permissions:
contents: write
Expand Down

0 comments on commit aef9be9

Please sign in to comment.