Skip to content

Commit 0384c59

Browse files
authored
JS release updates (#49)
1 parent ed72709 commit 0384c59

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

Diff for: .github/workflows/js-release.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ jobs:
2727
yarn install
2828
npm run build --workspaces --if-present
2929
- name: upgrade & publish version(s)
30-
## TODO version and publish commands need to be adjusted when we're confident with the pipeline
3130
run: |
32-
npx changeset version --snapshot migration
33-
npx changeset publish --no-git-tag --snapshot
34-
## TODO enable the git tagging when we're confident with the pipeline
35-
##- name: Push to git
36-
## run: |
37-
## git push --follow-tags
31+
npx changeset version
32+
npx changeset publish
33+
env:
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
35+
- name: Push to git
36+
run: git push --follow-tags

Diff for: visual-js/.changeset/tasty-cheetahs-talk.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@saucelabs/visual": minor
3+
"@saucelabs/cypress-visual-plugin": minor
4+
"@saucelabs/nightwatch-sauce-visual-service": minor
5+
"@saucelabs/visual-storybook": minor
6+
"@saucelabs/wdio-sauce-visual-service": minor
7+
---
8+
9+
Bump minor after GH migration

Diff for: visual-js/CONTRIBUTING.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Using changesets
2+
3+
- Please use `npx changeset` command to instruct [changesets](https://github.com/changesets/changesets/tree/main) to generate the change summary and versioning information.
4+
After you're done with the command you'll be able to see a .md file created in .changeset folder listing the packages and the type of release picked (major, minor or patch)
5+
6+
- Once the PR is merged, `JS (release)` GitHub action needs to be run manually. This action will run `npx changeset version` to update and commit the package.json files using the release information from the .md file. `npx changeset publish` is executed right after to publish the latest version to public npm registry.

0 commit comments

Comments
 (0)