Skip to content

Commit

Permalink
Merge pull request #1867 from oasisprotocol/lw/ci-deps
Browse files Browse the repository at this point in the history
Update CI github-actions
  • Loading branch information
lukaw3d authored Apr 4, 2024
2 parents f5f63e9 + 1f61939 commit 21a4aca
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions .changelog/1867.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update dependencies
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: yarn
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Upload build artifacts
# Upload build artifacts on push event.
if: github.event_name == 'push'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: oasis-wallet-web-${{ steps.vars.outputs.SHORT_SHA }}
path: build
2 changes: 1 addition & 1 deletion .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
python-version: '3.x'
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: yarn
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: yarn-cache
with:
node-version: 18
Expand All @@ -42,15 +42,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- run: yarn test --coverage
- name: 'Upload coverage report'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jest-coverage
path: coverage
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: yarn
Expand All @@ -85,7 +85,7 @@ jobs:
run: xvfb-run yarn test:prod
- name: 'Upload playwright test-results'
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: playwright-test-results
path: playwright/test-results
Expand All @@ -100,7 +100,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: yarn
Expand All @@ -115,7 +115,7 @@ jobs:
- run: npx wait-on http://localhost:3000/ --timeout 60000
- run: yarn cypress:run
- name: 'Upload coverage report'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cypress-coverage
path: cypress-coverage
Expand All @@ -130,7 +130,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Download coverage reports
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- uses: codecov/codecov-action@v3
with:
files: ./jest-coverage/coverage-final.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloudflare-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: yarn
Expand Down

0 comments on commit 21a4aca

Please sign in to comment.