Skip to content

Commit

Permalink
Created Check & Test workflow running for each push to main or pull r…
Browse files Browse the repository at this point in the history
…equest into main.
  • Loading branch information
lordgiotto committed Feb 2, 2024
1 parent bcd6c85 commit e0c218a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/check-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check & Test

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

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: yarn install --frozen-lockfile
- run: yarn check:all
- run: yarn test

0 comments on commit e0c218a

Please sign in to comment.