Skip to content

fix: test

fix: test #6

Workflow file for this run

name: Publish
on:
push:
branches:
- build
jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Login to NPM
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
commit: "chore: release packages"
publish: npm publish
title: "chore: release packages"