diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 646d981..a88de8d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,17 +3,17 @@ name: "publish npm" on: push jobs: - publish: - runs-on: ubuntu-latest - steps: - - name: checkout - uses: actions/checkout@v2 - - name: node - uses: actions/setup-node@v2 - with: - node-version: 12 - registry-url: https://registry.npmjs.org - - name: publish - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{secrets.IFX_FEEDBACK_WIDGET}} \ No newline at end of file + build: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + - name: node + uses: actions/setup-node@v2 + with: + registry-url: 'https://registry.npmjs.org' + - run: npm publish --access public + - run: npm install + - run: npm run build + env: + NODE_AUTH_TOKEN: ${{secrets.IFX_FEEDBACK_WIDGET}}