From 4bd063c737bf485addcd7f665e1489b359b91377 Mon Sep 17 00:00:00 2001 From: Ricardo Guillen I Date: Sat, 14 Jan 2023 14:03:48 -0400 Subject: [PATCH] Fix publish github package config, no copying the dist/* files --- .github/workflows/npm-publish-github-packages.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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