Skip to content

Commit

Permalink
ci: update versions of actions in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
carere committed Feb 16, 2024
1 parent 3d255cd commit 0968d81
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions .github/workflows/ci-push-release-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,32 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Node & pnpm
uses: carere/setup-node-and-pnpm@v1.2
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
pnpm-version: 8
node-version: 20

- name: Install dependencies
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Dependencies
run: pnpm i

- name: Run tests
Expand Down

0 comments on commit 0968d81

Please sign in to comment.