Skip to content

Commit

Permalink
Merge pull request #9 from wattanx/feat-ci
Browse files Browse the repository at this point in the history
feat: add ci
  • Loading branch information
wattanx authored Oct 4, 2023
2 parents 52c4c98 + f861e40 commit 549929e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [18]

steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Test
run: pnpm test

0 comments on commit 549929e

Please sign in to comment.