Setup node in GH Nuxt action

This commit is contained in:
Julien Nahum 2024-01-15 11:34:41 +01:00
parent 104f722bc1
commit 496f65040a
1 changed files with 5 additions and 7 deletions

View File

@ -86,13 +86,6 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-composer- ${{ runner.os }}-composer-
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
@ -136,6 +129,11 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: '20'
- name: Get into client folder - name: Get into client folder
run: cd client run: cd client