Skip to content

Commit

Permalink
update github actions to remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
codyzu committed Feb 7, 2024
1 parent 82e01ea commit fe1f00f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
31 changes: 11 additions & 20 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- run: corepack enable

- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: "pnpm"
Expand All @@ -40,7 +37,7 @@ jobs:
run: pnpm run build:all

- name: Setup emulator cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/firebase/emulators
key: emulators-${{ runner.os }}
Expand All @@ -57,15 +54,12 @@ jobs:
needs: [build_and_test, e2e_test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- run: corepack enable

- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: "pnpm"
Expand Down Expand Up @@ -100,15 +94,12 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- run: corepack enable

- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: "pnpm"
Expand All @@ -126,7 +117,7 @@ jobs:
- name: Run Playwright tests
run: pnpm run test:e2e:coverage

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@
"vitest": "^0.33.0",
"workbox-window": "^7.0.0",
"xo": "^0.54.2"
}
}
},
"packageManager": "pnpm@8.15.1+sha256.245fe901f8e7fa8782d7f17d32b6a83995e2ae03984cb5b62b8949bfdc27c7b5"
}

0 comments on commit fe1f00f

Please sign in to comment.