Skip to content

Commit

Permalink
Update build-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andyyu824 authored Dec 24, 2024
1 parent fb83d2a commit fccf60d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16.11.0
- name: Use Node.js 22.9.0
uses: actions/setup-node@v4
with:
node-version: 16.11.0
node-version: 22.9.0
# - name: add config
# run: echo "${{ secrets.CONFIG_JSON }}" | base64 -d > src/config.json
- name: build
run: npm install && npm run build
# - name: build
# run: npm install && npm run build
- name: npm ci
run: rm -rf node_modules && rm package-lock.json && npm install
- name: upload artifacts
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit fccf60d

Please sign in to comment.