Skip to content

chore: bump up cross-platform-actions/action action to v0.26.0 (#86) #83

chore: bump up cross-platform-actions/action action to v0.26.0 (#86)

chore: bump up cross-platform-actions/action action to v0.26.0 (#86) #83

Workflow file for this run

name: Release
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- .editorconfig
- docs/**
concurrency: 'release ${{ github.workflow }}-${{ github.ref }}'
permissions: write-all
jobs:
build-and-test:
name: Build and Test
uses: ./.github/workflows/test.yml
release:
name: Release
needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install dependencies
run: yarn install
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Move artifacts
run: yarn artifacts
- name: List packages
run: ls -R ./npm
shell: bash
- name: Set NPM Provenance
run: npm config set provenance true
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
title: 'chore(release): version packages'
commit: 'chore(release): version packages'
version: yarn bump
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}