-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/libs/iota-core/npm_a…
…nd_yarn-9706462e92
- Loading branch information
Showing
1,115 changed files
with
12,663 additions
and
5,809 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
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 |
---|---|---|
|
@@ -23,9 +23,8 @@ jobs: | |
permissions: | ||
# IMPORTANT: this permission is mandatory for trusted publishing | ||
id-token: write | ||
contents: read | ||
needs: | ||
- security | ||
contents: read | ||
needs: ['security'] | ||
steps: | ||
- name: Generate token from app token #https://github.com/tibdex/github-app-token | ||
id: generate_token | ||
|
@@ -51,43 +50,74 @@ jobs: | |
registry-url: 'https://registry.npmjs.org' | ||
scope: '@affinidi-tdk' | ||
- run: npm ci | ||
|
||
# Generate tag/changelog with semantic release | ||
# setting parallel higher than one might cause problems with locking git repo | ||
- run: npx nx run-many -t semantic-release --parallel=false | ||
name: semantic release | ||
env: | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: build | ||
run: | | ||
npx nx run-many -t build | ||
publish: | ||
concurrency: publish | ||
runs-on: ubuntu-latest | ||
environment: main | ||
permissions: | ||
# IMPORTANT: this permission is mandatory for trusted publishing | ||
id-token: write | ||
contents: read | ||
needs: ['release'] | ||
steps: | ||
- name: Generate token from app token #https://github.com/tibdex/github-app-token | ||
id: generate_token | ||
uses: tibdex/github-app-token@v2 | ||
with: | ||
app_id: ${{ secrets.RELEASE_BOT_APP_ID }} | ||
private_key: ${{ secrets.RELEASE_BOT_PKEY }} | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.ref }} | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
registry-url: 'https://registry.npmjs.org' | ||
scope: '@affinidi-tdk' | ||
- run: npm ci | ||
|
||
- name: package | ||
run: | | ||
npx nx run-many -t package | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: install twine for pypi releases | ||
- name: install python tools | ||
run: | | ||
pip install twine | ||
pip install poetry | ||
- name: Mint pypi token | ||
id: mint | ||
uses: tschm/[email protected] | ||
|
||
# Publish to npm with new nx release publish functionality | ||
- name: Set version for non-js client packages | ||
run: npx nx run-many -t set-version | ||
|
||
- name: build | ||
run: | | ||
npx nx run-many -t build | ||
- name: package | ||
run: | | ||
npx nx run-many -t package | ||
# Publish to npm,pypi with new nx release publish functionality | ||
- run: | | ||
npx nx release publish --verbose | ||
name: release | ||
name: publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} #publib-npm expects this | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | ||
TWINE_USERNAME: '__token__' | ||
TWINE_PASSWORD: ${{ steps.mint.outputs.api-token }} | ||
POETRY_PYPI_TOKEN_PYPI: ${{ steps.mint.outputs.api-token }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} #publib-npm expects this | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
#!/usr/bin/env sh | ||
|
||
|
||
npx --no-install commitlint --edit $1 |
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
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
2 changes: 1 addition & 1 deletion
2
clients/dart/credential_issuance_client/.openapi-generator/VERSION
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 |
---|---|---|
@@ -1 +1 @@ | ||
7.2.0 | ||
7.8.0 |
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.