Skip to content

Commit

Permalink
Update Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jul 21, 2024
1 parent 31751c2 commit 168801c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/karma-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
steps:

- name: 'Checkout the repository'
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: yarn install
Expand All @@ -32,7 +32,7 @@ jobs:
run: yarn run karma-headless --browsers ${{ matrix.browsers }}

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
Expand All @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
14 changes: 7 additions & 7 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:

steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 20.x

- name: Install production dependencies, check node engine compatiblity
- name: Install production dependencies, check node engine compatibility
run: yarn install --production=true

- name: Install development dependencies
Expand All @@ -29,7 +29,7 @@ jobs:
run: yarn run build

- name: Upload build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build
path: |
Expand All @@ -52,18 +52,18 @@ jobs:
steps:

- name: 'Checkout the repository'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Test with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install --ignore-engines

- name: Download build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: build

Expand Down

0 comments on commit 168801c

Please sign in to comment.