Skip to content

Feat/bundlers (#682) #521

Feat/bundlers (#682)

Feat/bundlers (#682) #521

Workflow file for this run

name: Changesets
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Get Release token
id: release_token
uses: peter-murray/workflow-application-token-action@v3
with:
application_id: ${{ secrets.RELEASE_APP_ID }}
application_private_key: ${{ secrets.RELEASE_APP_KEY }}
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
commit: 'chore: update versions'
title: 'chore: update versions'
publish: npm run release
env:
GITHUB_TOKEN: ${{ steps.release_token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}