Skip to content

Commit

Permalink
why am
Browse files Browse the repository at this point in the history
  • Loading branch information
vickkie committed Feb 28, 2024
1 parent e0f2c6f commit 2ff4203
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ jobs:

strategy:
matrix:
node-version: [20]
node-version: [20.x, 18.x]

steps:
- uses: actions/checkout@v4 # Update to version 4
with:
ref: ${{ github.head_ref }}
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2 # Update to version 2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -30,7 +28,7 @@ jobs:
npx webpack
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4 # Update to version 4
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.WORK_DEPLOY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

0 comments on commit 2ff4203

Please sign in to comment.