ci: drop build step

This commit is contained in:
Luke Bennett 2021-06-13 04:18:32 +01:00
parent 72698f3260
commit 5f0248b63c
No known key found for this signature in database
GPG key ID: A738E9C68D3BF31A

View file

@ -4,19 +4,6 @@ on:
branches: branches:
- stable - stable
jobs: 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: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
@ -32,6 +19,7 @@ jobs:
path: '**/node_modules' path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn --no-progress - run: yarn --no-progress
- run: yarn build
- run: yarn release - run: yarn release
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}