Skip to content

Deps: Add changeset for dependency update. #264

Deps: Add changeset for dependency update.

Deps: Add changeset for dependency update. #264

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 }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MACHINE_USER }}
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 --no-cache
- 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
version: npm run version
publish: npm run release
setupGitUser: false
commit: |
Changeset: Increment package & dependecy versions.
Congratulations on the new release! 🎉
This is an automated commit triggered by the `release` workflow.
title: 🚀 Release packages
- name: 🫨 Create Unstable Release
if: steps.changesets.outputs.published != 'true'
run: |
git checkout master
npm run version:unstable
npm install
npm run release:unstable