Skip to content

Commit

Permalink
ci: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Sep 20, 2024
1 parent 2aa966f commit cb7855b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
NODE_VERSION: 22
PNPM_VERSION: 9

jobs:
test:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test

0 comments on commit cb7855b

Please sign in to comment.