diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 08721e4..649259b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,19 +4,6 @@ on: branches: - stable jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: '15.x' - - uses: actions/cache@v2 - with: - path: '**/node_modules' - key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - - run: yarn --no-progress - - run: yarn build release: runs-on: ubuntu-latest needs: build @@ -32,6 +19,7 @@ jobs: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - run: yarn --no-progress + - run: yarn build - run: yarn release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }}