JS-383 Update embedded node to v22.11.0 (#4909) #696
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
name: 'Typedoc: site for helper function for the bridge' | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
publish-rules-helper-site: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # for vault | |
contents: write # for publish | |
name: Publish typedoc | |
env: | |
ARTIFACTORY_URL: https://repox.jfrog.io/artifactory | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Get vault secrets | |
id: secrets | |
uses: SonarSource/vault-action-wrapper@v3 | |
with: | |
secrets: | | |
development/artifactory/token/{REPO_OWNER_NAME_DASH}-private-reader access_token | ARTIFACTORY_ACCESS_TOKEN; | |
- name: Build typedoc site | |
run: | | |
cp .cirrus/npmrc ./.npmrc | |
export ARTIFACTORY_ACCESS_TOKEN=${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }} | |
npm ci | |
npm run td | |
- name: Publish typedoc site | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh_pages | |
folder: ./typedoc/site | |
target-folder: ./typedoc | |
commit-message: "Update the bridge helper functions site" |