Skip to content

Commit

Permalink
Add a github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hedyhli committed Aug 21, 2024
1 parent ae9179e commit 479f8d5
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Checks
on:
push: {}
pull_request:
branches:
- main
jobs:
main:
name: checks

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [debian-latest]
node-version: [22]

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

- name: install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: setup node.js
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: install dependencies
run: pnpm install

- name: build
run: pnpm build

- name: test
run: pnpm test

0 comments on commit 479f8d5

Please sign in to comment.