Skip to content

chore: Enable biome organizeImports (#590) #455

chore: Enable biome organizeImports (#590)

chore: Enable biome organizeImports (#590) #455

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Release:
# prevents this action from running on forks
if: github.repository == 'manzt/anywidget'
runs-on: macos-14
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
- run: pnpm install --frozen-lock
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: |
python -m pip install --upgrade pip
pip install build twine
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
# this expects you to have a npm script called version that runs some logic and then calls `changeset version`.
version: npm run version
# This expects you to have a script called release which does a build for the packages and calls `changeset publish`
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}