test pipeline

This commit is contained in:
Niccolo Borgioli 2023-03-03 18:19:42 +01:00
parent c6fd2341d4
commit c960ad0486
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B

27
.github/workflows/test.yaml vendored Normal file
View File

@ -0,0 +1,27 @@
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