Skip to content

Commit

Permalink
fix client CI try #2
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Dec 9, 2024
1 parent 8f2b225 commit f47487b
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/client_ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ jobs:

steps:
- name: Checkout️
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js 16.14
uses: actions/setup-node@v3
- name: Node setup
uses: actions/setup-node@v4
with:
node-version: '16.14'
node-version-file: 'client/.nvmrc'

- name: Install node modules
- uses: pnpm/action-setup@v4

- name: Cache dependencies
working-directory: client
run: pnpm install --prod --frozen-lockfile
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Run tests
working-directory: client
Expand Down

0 comments on commit f47487b

Please sign in to comment.