diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index c765dcb..7e28203 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -15,6 +15,7 @@ jobs: with: node-version: 16 - run: npm install + - run: npm run build - run: npm test publish-gpr: @@ -30,7 +31,8 @@ jobs: with: node-version: 16 registry-url: https://npm.pkg.github.com/ + - run: cp -R dist/* . - run: npm install - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file