Skip to content

Commit

Permalink
issue 1029
Browse files Browse the repository at this point in the history
  • Loading branch information
aceppaluni committed May 18, 2024
1 parent 3c12cbf commit b77e8dc
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: TEST
on:
push:
branches:
- the-one
paths:
- '**.ts'
- '**.js'
- '**.json'
- '.github/workflows/test.yml'
pull_request:
branches:
- the-one
Paths:
- '**.ts'
- '**.js'
- '**.json'
- '.github/workflows/test.yml'
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 20
- 21
- 22
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.version }}
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: npm ci
- run: npm run language
- run: npm run test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: unit-test-${{ env.CURRENT_NODE_VERSION }}
end:
runs-on: ubuntu-latest
needs:
- unit-test
steps:
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

0 comments on commit b77e8dc

Please sign in to comment.