Expose cosmos.fixtures.json with renderer URLs (#1629) #214
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release-canary | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
if: ${{ !contains(github.event.head_commit.message, '[release]') }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: git config --global core.autocrlf false | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- uses: actions/cache@v4 | |
id: npm-cache | |
with: | |
path: .npm-cache | |
key: '${{ runner.os }}-npm' | |
- run: npm ci --cache .npm-cache | |
- run: npm set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }} | |
- run: npm run release:check | |
# https://github.com/lerna/lerna/issues/2622 | |
# https://github.com/lerna/lerna/issues/3554 | |
# https://github.com/lerna/lerna/issues/2060#issuecomment-658182391 | |
- run: | | |
npx lerna publish \ | |
--canary \ | |
--preid canary.$(git rev-parse --short HEAD) \ | |
--dist-tag=canary \ | |
--exact \ | |
--no-push \ | |
--no-git-tag-version \ | |
--yes |