Skip to content

Commit

Permalink
add workflow for review
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaplus1 committed Jul 5, 2023
1 parent 14edd49 commit 8a94095
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: review

on:
- push
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
review:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
node:
- 14
- 16
- 18
- 20
- lts/*
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build

0 comments on commit 8a94095

Please sign in to comment.