Skip to content

Commit

Permalink
Update npm-grunt.yml
Browse files Browse the repository at this point in the history
Signed-off-by: yang <[email protected]>
  • Loading branch information
webvs2 authored Jul 25, 2024
1 parent 5993f2f commit 8175fdd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/npm-grunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: 20
node-version: [20]

steps:
- uses: actions/checkout@v4
Expand All @@ -22,13 +22,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npm run build:demo

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: build
BUILD_SCRIPT: npm install && npm run build


0 comments on commit 8175fdd

Please sign in to comment.