diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ca2223b..a4a2936 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -8,7 +8,7 @@ on: types: [created] jobs: - build: + build-and-publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -17,16 +17,4 @@ jobs: node-version: 16 - run: yarn install - run: yarn build - - publish-npm: - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - registry-url: https://registry.npmjs.org/ - run: npm publish --tag next - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}