Skip to content

Commit 11441fc

Browse files
authored
Merge pull request #2 from abernier/canary-abernier-pkg
canary
2 parents c399c66 + e87f4da commit 11441fc

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: Build and Release to npm
22
on:
33
push:
44
branches:
5-
- 'main'
5+
- "main"
6+
- "canary-*"
67

78
# Cancel any previous run (see: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency)
89
concurrency:
910
group: ${{ github.workflow }}-${{ github.ref }}
1011
cancel-in-progress: true
1112

1213
jobs:
13-
1414
release-job:
1515
runs-on: ubuntu-latest
1616
steps:
@@ -58,6 +58,7 @@ jobs:
5858
deploy-job:
5959
needs: release-job
6060
runs-on: ubuntu-latest
61+
if: github.ref == 'refs/heads/main'
6162
permissions:
6263
contents: read
6364
pages: write

.releaserc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
branches:
22
- main
3+
- name: canary-*
4+
prerelease: true
5+
channel: canary
36
plugins:
47
- - "@semantic-release/commit-analyzer"
58
- preset: "conventionalcommits"

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
[![](https://img.shields.io/badge/dev-f7f9fc.svg?logo=storybook)](https://dev--68888af2a4f99a664aba1eb5.chromatic.com)
2-
[![](https://img.shields.io/badge/dev-171c23.svg?logo=chromatic)](https://www.chromatic.com/library?appId=68888af2a4f99a664aba1eb5&branch=dev)
1+
[![Latest NPM release](https://img.shields.io/npm/v/@abernier/camera-controls.svg)](https://www.npmjs.com/package/@abernier/camera-controls)
2+
[![Storybook dev branch](https://img.shields.io/badge/dev-f7f9fc.svg?logo=storybook)](https://dev--68888af2a4f99a664aba1eb5.chromatic.com)
3+
[![Chromatic dev branch](https://img.shields.io/badge/dev-171c23.svg?logo=chromatic)](https://www.chromatic.com/library?appId=68888af2a4f99a664aba1eb5&branch=dev)
34

45
this is my fork of original [yomotsu/camera-controls](https://github.com/yomotsu/camera-controls)
56

0 commit comments

Comments
 (0)