Skip to content

Changeset: Increment package versions. #47

Changeset: Increment package versions.

Changeset: Increment package versions. #47

Workflow file for this run

name: Release
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
jobs:
release:
name: 🚚 Release
runs-on: ubuntu-latest
steps:
- name: 🕶️ Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📦 Install
uses: ./.github/common/install
- name: 🔨 Build
run: npm run build:packages
- name: 🧪 Tests
run: npm run test:packages
- name: 🥸 Configure Identity
run: |
git config --global user.email "opensource@nordcom.io"
git config --global user.name "nordcombot"
- name: 🤝 Create Release Pull Request or Publish to NPM
id: changesets
uses: changesets/action@v1
with:
createGithubReleases: true
publish: npm run release
setupGitUser: false
commit: |
Changeset: Increment package versions.
Congratulations on the new release! 🎉
This is an automated commit triggered by the `release` workflow.
title: 🚀 Release packages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MACHINE_USER }}
- name: 🫨 Create Unstable Release
if: steps.changesets.outputs.published != 'true'
run: |
git checkout master
npm run version:unstable
npm run release:unstable
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MACHINE_USER }}