Skip to content

Merge pull request #20 from StackExchange/dev #1

Merge pull request #20 from StackExchange/dev

Merge pull request #20 from StackExchange/dev #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
paths:
- 'plugins/**'
workflow_dispatch:
# Required for trusted publishing
permissions:
contents: read
id-token: write # Needed for provenance and trusted publishing
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn changeset publish --provenance
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}