Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ jobs:
steps:
- uses: actions/checkout@v3

# - name: Install pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 7

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
# cache: 'pnpm'
# cache: 'yarn'

- name: Install dependencies
uses: bahmutov/npm-install@v1

# If pnpm is used, you need to switch the previous step with the following one. pnpm does not create a package-lock.json
# so the step above will fail to pull dependencies
# - uses: pnpm/action-setup@v2
# name: Install pnpm
# id: pnpm-install
# with:
# version: 7
# run_install: true
- run: npm install
# - run: pnpm install
# - run: yarn install --frozen-lockfile

- name: Restore next build
uses: actions/cache@v3
Expand Down