Skip to content

Commit

Permalink
+ci changeset release pr
Browse files Browse the repository at this point in the history
  • Loading branch information
metaory committed Jun 24, 2024
1 parent 353ac32 commit c5e0607
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 34 deletions.
8 changes: 0 additions & 8 deletions .github/dependabot.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/publish.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: npm

on:
push:
branches:
- master

jobs:
release:
name: Release
permissions:
contents: write
id-token: write
issues: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest

- name: Build
run: npm run build

- name: Release PR
uses: changesets/action@v1
with:
version: npx changeset version
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c5e0607

Please sign in to comment.