Skip to content

Fix wrong intl messages configuration (#75) #56

Fix wrong intl messages configuration (#75)

Fix wrong intl messages configuration (#75) #56

name: Release Canary
on:
push:
branches:
- main
- next
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release-canary:
name: Release Canary
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Copy schema files
run: pnpm run copy-schema-files
- name: Publish Canary release
if: ${{ github.ref_name == 'main' }}
run: |
echo --- > .changeset/canary.md
echo '"@comet/brevo-admin": patch' >> .changeset/canary.md
echo --- >> .changeset/canary.md
echo >> .changeset/canary.md
echo fake change to always get a canary release >> .changeset/canary.md
pnpm exec changeset version --snapshot canary
pnpm run publish --tag canary --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Canary release
if: ${{ github.ref_name == 'next' }}
run: |
echo --- > .changeset/canary.md
echo '"@comet/brevo-admin": major' >> .changeset/canary.md
echo --- >> .changeset/canary.md
echo >> .changeset/canary.md
echo fake change to always get a canary release >> .changeset/canary.md
pnpm exec changeset version --snapshot canary
pnpm run publish --tag next-canary --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}