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

Commit

Permalink
chore(ci): ensures postinstall in ci build
Browse files Browse the repository at this point in the history
gh action for build will always fire now

refs #4
  • Loading branch information
edm00se committed Jan 9, 2020
1 parent 8900370 commit 13f4b90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
node-version: 12

- name: Build
run: npm run build:ci
run: |
npm ci
npm run postinstall
npm run build:ci
- name: Deploy
uses: peaceiris/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:ci": "parcel build src/index.html --public-url . --log-level 2",
"test": "jest",
"test:coverage": "npm run test -- --coverage",
"postinstall": "rm -rf ./.cache && node ./postinstall.js"
"postinstall": "rm -rf .cache && node postinstall.js"
},
"dependencies": {},
"devDependencies": {
Expand Down

0 comments on commit 13f4b90

Please sign in to comment.