Skip to content

Commit 9c8b186

Browse files
committed
fix: removes node_modules caching
1 parent 3fa685d commit 9c8b186

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/install-test-build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
secrets:
66
PACKAGES_ACCESS_TOKEN:
77
required: true
8+
IGNORE_SCRIPTS:
9+
required: false
810

911
jobs:
1012
test:
@@ -17,7 +19,6 @@ jobs:
1719
uses: actions/setup-node@v2
1820
with:
1921
node-version-file: .nvmrc
20-
cache: npm
2122
- name: 'NPM: Add Config and Authorization'
2223
run: |
2324
rm -f .npmrc
@@ -26,7 +27,10 @@ jobs:
2627
env:
2728
PAT: ${{ secrets.PACKAGES_ACCESS_TOKEN }}
2829
- name: Install dependencies
29-
run: npm i
30+
run: npm ci --ignore-scripts $IGNORE_SCRIPTS
31+
env:
32+
IGNORE_SCRIPTS: ${{ secrets.IGNORE_SCRIPTS }}
33+
NODE_ENV: development
3034
- name: Test
3135
run: npm run test
3236
- name: Lint

0 commit comments

Comments
 (0)