Skip to content

Commit

Permalink
chore(ci): Minor release workflow improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
wottpal committed Jul 30, 2024
1 parent 67108f0 commit c8a2895
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
Expand Down Expand Up @@ -34,16 +37,16 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: pnpm i
run: pnpm install --frozen-lockfile

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
title: 'chore(changeset): Bump package version'
commit: 'chore(changeset): Bump package version'
version: pnpm changeset:version
publish: pnpm changeset:publish
version: pnpm run changeset:version
publish: pnpm run changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c8a2895

Please sign in to comment.