Skip to content

feat: framegear supports mock following option (#233) #200

feat: framegear supports mock following option (#233)

feat: framegear supports mock following option (#233) #200

Workflow file for this run

name: Version 🔖
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
version:
name: Release
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: 'Setup'
uses: ./.github/actions/setup
- name: Build
shell: bash
run: yarn build
- name: Set deployment token
run: npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
# 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 }}