Skip to content

Commit

Permalink
chore: added test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lmammino committed Mar 21, 2024
1 parent 07a9937 commit 8245984
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: main
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v4

- uses: pnpm/action-setup@v3
with:
version: 8

- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
env:
CI: true

- name: Tests
run: pnpm test
env:
CI: true

- name: Build
run: pnpm build
env:
CI: true

0 comments on commit 8245984

Please sign in to comment.