Skip to content

Commit

Permalink
ci: setup up GitHub actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed Sep 13, 2022
1 parent dcf6bf2 commit 37bf345
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ci
on:
push:
branches: [main]
pull_request:
branches: ['*']

jobs:
ci:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test

0 comments on commit 37bf345

Please sign in to comment.