-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add release action * uncomment publish * test on this branch * try feeding in custom command * set branch back to main, update title
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "v18.12.1" | ||
cache: "yarn" | ||
cache-dependency-path: ./yarn.lock | ||
|
||
- name: corepack enable | ||
run: corepack enable | ||
|
||
- name: yarn install | ||
run: yarn install --immutable | ||
|
||
- name: update release PR or publish | ||
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
version: yarn changeset version | ||
publish: echo "rip bozo" | ||
title: version packages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |