Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Commit

Permalink
Remove duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
GraxMonzo committed Jan 18, 2021
1 parent 5d16ebe commit 5088272
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/run-tests-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,20 @@ jobs:
with:
node-version: 14.x

- run: npm install

- run: npm test

- uses: JS-DevTools/npm-publish@v1
- name: Use cached node_modules
id: cache
uses: actions/cache@v2.1.1
with:
token: ${{ secrets.NPM_TOKEN }}
path: node_modules
key: nodeModules-${{ hashFiles('**/yarn.lock') }}-${{ matrix.node-version }}
restore-keys: |
nodeModules-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
env:
CI: true

- uses: JS-DevTools/npm-publish@v1
with:
Expand Down

0 comments on commit 5088272

Please sign in to comment.