Skip to content

Commit

Permalink
fix: build package before publishing to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedriad1 committed Mar 28, 2022
1 parent 6584873 commit e4b1fd5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ jobs:
node-version: 14
registry-url: https://registry.npmjs.org/

- name: Install deps and build (with cache)
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1

- name: Build
run: yarn build

- run: npx semantic-release@17
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit e4b1fd5

Please sign in to comment.