Skip to content

Commit 6db3974

Browse files
committed
update the build and deploy scripts
1 parent 08fc3fd commit 6db3974

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [15.x]
16+
node-version: [20.x]
1717
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
- run: npm config set ignore-scripts false
2626
- run: npm ci
2727
- run: npm run build --if-present
28-
- run: npm test
28+
- run: npm test -- --puppeteer
2929
- name: Deploy 🚀
30-
uses: JamesIves/github-pages-deploy-action@3.7.1
30+
uses: JamesIves/github-pages-deploy-action@v4
3131
with:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
BRANCH: gh-pages # The branch the action should deploy to.
34-
FOLDER: build # The folder the action should deploy.
35-
CLEAN: true # Automatically remove deleted files from the deploy branch
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
branch: gh-pages # The branch the action should deploy to.
34+
folder: build # The folder the action should deploy.
35+
clean: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)