Skip to content

Commit

Permalink
Changed pnpm setup from official action
Browse files Browse the repository at this point in the history
  • Loading branch information
SansCaar committed Jul 5, 2024
1 parent 04ffc8b commit eca42b8
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
#Got this from the official docs
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
node-version: '18' # Use Node.js 18.x
version: 8
run_install: false

- name: Install pnpm
run: npm -C nepalingo-web install -g pnpm
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20 # Changed version to v20
cache: 'pnpm'

- name: Install dependencies
run: pnpm -C nepalingo-web install
Expand Down

0 comments on commit eca42b8

Please sign in to comment.