Skip to content

Commit

Permalink
remove extra build from the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
napalmpapalam committed Jul 11, 2023
1 parent 3f1306c commit 107ae17
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,12 @@ on:
- '*.*.*'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
nodejs: [18]

steps:
- uses: actions/checkout@v3
- name: Build on Node.js ${{ matrix.nodejs }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodejs }}
- run: yarn install
- run: yarn build
- run: yarn lint
- run: yarn test
env:
CI: true

publish:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
nodejs: [ 18 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -37,6 +21,8 @@ jobs:
run: |
yarn install
yarn build
yarn lint
yarn test
yarn publish-latest
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Expand Down

0 comments on commit 107ae17

Please sign in to comment.