Skip to content

Commit

Permalink
fix(workflows): set puppeteer cache location
Browse files Browse the repository at this point in the history
Signed-off-by: Will Soto <willsoto@users.noreply.github.com>
  • Loading branch information
willsoto committed Nov 20, 2022
1 parent 00890aa commit ed37cb3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test:
uses: "willsoto/actions/.github/workflows/node-ci.yml@v2.1.0"
uses: "willsoto/actions/.github/workflows/node-ci.yml@v2.2.2"
secrets:
GitHubToken: ${{ secrets.GH_TOKEN }}
NPMToken: ${{ secrets.NPM_TOKEN }}
9 changes: 9 additions & 0 deletions .puppeteerrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const { join } = require("path");

/**
* @type {import("puppeteer").Configuration}
*/
module.exports = {
// Changes the cache location for Puppeteer.
cacheDirectory: join(__dirname, "node_modules", ".cache", "puppeteer"),
};

0 comments on commit ed37cb3

Please # to comment.