soiz1 commited on
Commit
28a99e3
·
verified ·
1 Parent(s): dc73c07

Update .github/workflows/node.js.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/node.js.yml +3 -3
.github/workflows/node.js.yml CHANGED
@@ -27,8 +27,8 @@ jobs:
27
  with:
28
  node-version: 16.x
29
  - name: Install dependencies and build site
30
- run: npm i -g pnpm@v6 && pnpm up && pnpm i --shamefully-hoist --force && NODE_ENV=production webpack --bail
31
- - name: Upload artifact
32
  uses: actions/upload-pages-artifact@v3
33
  with:
34
  path: ./build/
@@ -42,4 +42,4 @@ jobs:
42
  steps:
43
  - name: Deploy to GitHub Pages
44
  id: deployment
45
- uses: actions/deploy-pages@v4
 
27
  with:
28
  node-version: 16.x
29
  - name: Install dependencies and build site
30
+ run: npm i -g pnpm@v6 && pnpm up && pnpm i --shamefully-hoist --force && SOURCEMAP="cheap-source-map" NODE_ENV="production" webpack --bail
31
+ - name: Upload artifact
32
  uses: actions/upload-pages-artifact@v3
33
  with:
34
  path: ./build/
 
42
  steps:
43
  - name: Deploy to GitHub Pages
44
  id: deployment
45
+ uses: actions/deploy-pages@v4