Skip to content

Commit

Permalink
move cache step
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Apr 18, 2024
1 parent 9f72780 commit cfc0b98
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- args: [--global, gulp, prettier, typescript]
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: install dependencies
run: pnpm install
- uses: pnpm/action-setup@v3
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- args: [--global, prettier, typescript]
- name: build
run: pnpm build
Expand Down

0 comments on commit cfc0b98

Please sign in to comment.