Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into test2
Browse files Browse the repository at this point in the history
  • Loading branch information
farrah-deriv committed Apr 25, 2024
2 parents 2432d7a + da9e2cc commit c2d165d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,20 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: 'npm'

- name: Create npmrc file
shell: bash
run: echo "@deriv-com:registry=https://npm.pkg.github.com" >> .npmrc

- name: Get cached dependencies
id: cache-npm
uses: actions/cache/restore@e12d46a63a90f2fae62d114769bbf2a179198b5c
with:
path: node_modules
key: npm-${{ hashFiles('./package-lock.json') }}

- name: Install dependencies
if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
run: npm ci
Expand Down

0 comments on commit c2d165d

Please sign in to comment.