Skip to content

Commit

Permalink
lint & test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
zhammer committed Jan 29, 2024
1 parent 7faaa09 commit eb99faa
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build
on: [push, pull_request]
jobs:
build:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -13,8 +13,21 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn tsc
- run: yarn lint
- run: yarn prettier:check
- run: yarn lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn test

0 comments on commit eb99faa

Please sign in to comment.