-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to beachball for changelog management (#7)
* remove changesets and add beachball * update tokens
- Loading branch information
1 parent
fb39267
commit c227f87
Showing
8 changed files
with
308 additions
and
824 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
name: Publish dev pre-release NPM packages | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }} | ||
|
||
- name: Use Node.js 18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7.28.0 | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile=true | ||
|
||
- name: Run Tests | ||
run: pnpm run cover | ||
|
||
- name: Publish packages | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }} | ||
run: pnpm publish-packages-dev -y --branch ${{ github.ref_name }} --message "Version bump [skip actions]" | ||
|
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
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,14 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (c) Bentley Systems, Incorporated. All rights reserved. | ||
* See LICENSE.md in the project root for license terms and full copyright notice. | ||
*--------------------------------------------------------------------------------------------*/ | ||
const base = require("./beachball.config.js"); | ||
|
||
/** @type {import("beachball").BeachballConfig } */ | ||
module.exports = { | ||
...base, | ||
tag: "nightly", | ||
prereleasePrefix: "dev", | ||
generateChangelog: false, | ||
gitTags: false, | ||
}; |
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,21 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (c) Bentley Systems, Incorporated. All rights reserved. | ||
* See LICENSE.md in the project root for license terms and full copyright notice. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @type {import("beachball").BeachballConfig } */ | ||
module.exports = { | ||
bumpDeps: false, | ||
access: "public", | ||
tag: "latest", | ||
ignorePatterns: [ | ||
".nycrc", | ||
".eslintrc.json", | ||
".mocharc.json", | ||
"tsconfig.*", | ||
".*ignore", | ||
".github/**", | ||
".vscode/**", | ||
"pnpm-lock.yaml", | ||
], | ||
changehint: "Run 'pnpm change' to generate a change file", | ||
}; |
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
Oops, something went wrong.