diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 36c4800..41e0222 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,12 +26,11 @@ jobs: - run: npm test - run: npm run build --if-present - run: npm run deploy - - name: Upload build artifacts - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: build-artifacts - path: './artifact' - + name: my-artifact + path: path/to/artifact/ # or path/to/artifact + deploy: environment: name: github-pages