Fix TS errors #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
defaults: | |
run: | |
shell: bash | |
env: | |
FORCE_COLOR: true | |
jobs: | |
changelog: | |
name: Changelog PR or Release | |
if: ${{ github.repository_owner == 'fogbender' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install Dependencies | |
run: yarn | |
- name: Build Packages | |
run: yarn build | |
- name: Create Release Pull Request or Publish | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
# Note: yarn install after versioning is necessary to refresh lockfile | |
version: yarn release | |
publish: yarn changeset publish | |
commit: "[ci] release" | |
title: "[ci] release" | |
env: | |
# Token to create pull requests | |
GITHUB_TOKEN: ${{ secrets.FOG_OSS_GITHUB_TOKEN }} | |
# Needs access to publish to npm | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |