-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from lidofinance/develop
Update workflows
- Loading branch information
Showing
4 changed files
with
1,267 additions
and
1,059 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,43 @@ | ||
name: Publish Beta version to registry | ||
on: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write # to be able to publish a GitHub release | ||
issues: write # to be able to comment on released issues | ||
id-token: write # to enable use of OIDC for npm provenance | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
environment: development | ||
# restricts job to develop branch | ||
if: github.ref == 'refs/heads/develop' | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'yarn' | ||
|
||
- name: Install dependencies | ||
run: yarn --frozen-lockfile | ||
|
||
- name: Build | ||
run: yarn build:packages | ||
|
||
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies | ||
run: yarn npm audit | ||
|
||
- name: Publish Alpha | ||
run: yarn multi-semantic-release --deps.bump=override --deps.release=patch --sequential-init | ||
env: | ||
NPM_CONFIG_PROVENANCE: true | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
"@commitlint/config-conventional": "^17.7.0", | ||
"@lidofinance/eslint-config": "^0.35.0", | ||
"@next/eslint-plugin-next": "^14.0.1", | ||
"@qiwi/multi-semantic-release": "6.7.0", | ||
"@qiwi/multi-semantic-release": "7.1.1", | ||
"@typescript-eslint/eslint-plugin": "^5", | ||
"@typescript-eslint/parser": "^5.46.0", | ||
"eslint": "^8.46.0", | ||
|
@@ -57,7 +57,12 @@ | |
], | ||
"release": { | ||
"branches": [ | ||
"main" | ||
"main", | ||
{ | ||
"name": "develop", | ||
"channel": "alpha", | ||
"prerelease": "alpha" | ||
} | ||
] | ||
}, | ||
"packageManager": "[email protected]", | ||
|
Oops, something went wrong.