formhero/.github/workflows/test.yaml

28 lines
464 B
YAML
Raw Normal View History

2023-03-03 17:19:42 +00:00
name: Test
on:
push:
pull_request:
permissions:
contents: read
pages: write
id-token: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run compile
- run: pnpm run test