Skip to content

Commit

Permalink
build: enable ipx-nightly release channel
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 10, 2023
1 parent 79519ca commit c6fb05c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,14 @@ jobs:
- run: pnpm build
- run: pnpm vitest run --coverage
- uses: codecov/codecov-action@v3
- name: nightly release
if: |
github.ref_name == 'refs/heads/build/nightly' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!contains(github.event.head_commit.message, 'docs')
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc &&
pnpm changelogen --canary nightly --publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit c6fb05c

Please sign in to comment.