Skip to content

Commit

Permalink
auto publish test
Browse files Browse the repository at this point in the history
  • Loading branch information
kingdevnl committed Apr 30, 2023
1 parent 918f77f commit 429e69e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
Expand All @@ -24,3 +25,13 @@ jobs:
run: make build
- name: Test
run: make test
- name: "change version"
uses: reedyuk/npm-version@1.1.1
with:
version: "1.0.1"
package: "packages/lib"
git-tag-version: "true"
- name: Publish package
run: cd packages/lib && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 429e69e

Please sign in to comment.