Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewstech authored Jan 24, 2022
1 parent e1ef731 commit e4361d0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,22 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Node.js
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: '16.6.1'
cache: 'npm'

- name: Install NPM packages
run: npm ci
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies
run: CI=false npm install

- name: Build project
run: CI=false npm run build
Expand Down

0 comments on commit e4361d0

Please sign in to comment.