diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bdd109b..2c53e18 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,10 +12,18 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 + - uses: JS-DevTools/npm-publish@v1 + with: + token: ${{ secrets.NPM_AUTH_TOKEN }} + access: public + check-version: true + - run: cd nuxt + - run: | + yarn install + yarn prepack - uses: JS-DevTools/npm-publish@v1 with: token: ${{ secrets.NPM_AUTH_TOKEN }} access: public check-version: true - package: ./nuxt/package.json