Skip to content

Update dependency typedoc to ^0.25.10 #190

Update dependency typedoc to ^0.25.10

Update dependency typedoc to ^0.25.10 #190

#
# DO NOT EDIT!
# This file was autogenerated by Carson.
# Changes may cause incorrect behavior and will be lost when the file is regenerated.
#
# Run `npx carson update workspace` to regenerate.
#
name: Release pull request
on:
pull_request:
branches:
- development
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release_pull_request:
name: Release pull request
if: ${{ github.actor != 'renovate[bot]' }}
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Configure git
run: |
git config user.email "[email protected]"
git config user.name "Bot"
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Install packages
run: npm ci
- name: Check for changes
run: |
git config core.filemode false
git_status=$(git status --porcelain)
if [[ -n $git_status ]]; then
echo "You have uncommitted changes!"
git diff
git config --unset core.filemode
exit 1
fi
git config --unset core.filemode
- name: Run tests
run: npm test
- name: Check for changes
run: |
git config core.filemode false
git_status=$(git status --porcelain)
if [[ -n $git_status ]]; then
echo "You have uncommitted changes!"
git diff
git config --unset core.filemode
exit 1
fi
git config --unset core.filemode
- name: Build packages
run: npm run build
- name: Authenticate to npm registry
run: |
echo "//registry.npmjs.com/:_authToken=NPM_TOKEN" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Version packages
run: |
npx changeset version --snapshot unstable.$(git rev-parse --short HEAD) --snapshot-prerelease-template "{tag}"
git status
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish packages
run: |
npx changeset publish --tag unstable --no-git-tag
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: 'true' # must be string, not boolean