diff --git a/.github/workflows/deploy_demo.yml b/.github/workflows/deploy_demo.yml index 8791dfb..4ca5d7c 100644 --- a/.github/workflows/deploy_demo.yml +++ b/.github/workflows/deploy_demo.yml @@ -24,7 +24,7 @@ jobs: run: npm run build:demo - name: Upload production-ready build files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: production-files path: ./demo @@ -36,7 +36,7 @@ jobs: if: github.ref == 'refs/heads/master' steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: production-files path: ./demo diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5d14cd9..ff0872f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,7 +45,7 @@ jobs: # === `master` branch === - name: Publish to NPM if: github.ref == 'refs/heads/master' - run: npm publish ./dist + run: npm publish ./dist --tag latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}