Skip to content

Commit

Permalink
split actions, so squashed commits are uploaded to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaps committed Nov 29, 2023
1 parent 3f1ea05 commit fef78a3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Website static checks
name: ESLint

on: [pull_request]

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

jobs:
checks:
Expand All @@ -15,8 +15,4 @@ jobs:
with:
node-version: '20'
cache: 'yarn'
- run: yarn install
- run: npx webpack
- run: yarn run lint
- run: yarn run test
- uses: codecov/codecov-action@v3
18 changes: 18 additions & 0 deletions .github/workflows/code-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Unit Tests

on: [ push, pull_request ]

jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'yarn'
- run: yarn install
- run: npx webpack
- run: yarn run test
- uses: codecov/codecov-action@v3

0 comments on commit fef78a3

Please sign in to comment.