Skip to content

fix: workflow

fix: workflow #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Releasing
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Dependencies
run: npm install --frozen-lockfile --prefer-offline
- name: Build workspace packages
run: npm run build
- name: Run type checking
run: npm run typecheck
- name: Run linting
run: npm run lint
- name: Create Release Pull Request / Publish Packages
uses: changesets/action@v1
with:
publish: npm run release
version: npm run version-packages
commit: 'chore: release package(s)'
title: 'chore: release package(s)'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}