From 161416f588ac51ee2535a3aa2ba15e0fa3805b03 Mon Sep 17 00:00:00 2001 From: andrerpena Date: Mon, 2 May 2022 11:44:54 +0100 Subject: [PATCH] Simplify build process --- .github/workflows/npm-publish.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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}}