From 80b4a5a8c943ca999419840aa6bb4cba1503ef2d Mon Sep 17 00:00:00 2001 From: Eric McCormick Date: Thu, 9 Jan 2020 09:26:53 -0600 Subject: [PATCH] chore(ci): ensures postinstall in ci build gh action for build will always fire now refs #4 --- .github/workflows/gh-pages.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 49bac4d..c694e67 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -17,7 +17,7 @@ jobs: node-version: 12 - name: Build - run: npm run build:ci + run: npm run postinstall && npm run build:ci - name: Deploy uses: peaceiris/actions-gh-pages@v2.4.0 diff --git a/package.json b/package.json index 3560f7a..0061be7 100644 --- a/package.json +++ b/package.json @@ -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": {