diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8372b9..807226a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: "12.x" + cache: npm - run: npm ci - run: npx pkg . --out-path=dist/ - run: npx semantic-release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5650430..35eb447 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 12 + cache: npm - run: npm ci - run: npm test e2e: @@ -24,5 +25,6 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 12 + cache: npm - run: npm ci - run: "npm run test:e2e" diff --git a/.github/workflows/update-prettier.yml b/.github/workflows/update-prettier.yml index 99f2e2b..2b7bcd1 100644 --- a/.github/workflows/update-prettier.yml +++ b/.github/workflows/update-prettier.yml @@ -11,6 +11,7 @@ jobs: - uses: actions/setup-node@v2 with: version: 12 + cache: npm - run: npm ci - run: "npm run lint:fix" - uses: gr2m/create-or-update-pull-request-action@v1.x