Skip to content

chore: version packages πŸ”– (#32) #4

chore: version packages πŸ”– (#32)

chore: version packages πŸ”– (#32) #4

Workflow file for this run

name: Version πŸ”–
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- name: Install
shell: bash
run: yarn
# https://github.com/changesets/action#with-publishing
- name: Handle Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
title: "chore: version packages πŸ”–"
commit: "chore: version packages πŸ”–"
publish: yarn release:publish
version: yarn release:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}