Skip to content

chore(deps-dev): bump @ts-dev-tools/react #78

chore(deps-dev): bump @ts-dev-tools/react

chore(deps-dev): bump @ts-dev-tools/react #78

Workflow file for this run

name: Internal - Main - Continuous Integration
on:
push:
branches: [main]
tags: ["*"]
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
uses: ./.github/workflows/__shared-ci.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: read
pull-requests: write
id-token: write
security-events: write
statuses: write
npm-publish:
needs: ci
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Node.js
uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@775ce0902c528062cc94141dd7d13261083b752a # 0.22.0
- name: Download package tarball
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
artifact-ids: ${{ needs.ci.outputs.package-tarball-artifact-id }}
path: .
- name: Publish CLI to npm
run: |
# Write .npmrc file
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
tag="${{ github.ref_name }}"
npm publish hoverkraft-docusaurus-theme-*.tgz --provenance --access public --tag "@hoverkraft/docusaurus-theme@$tag"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
deploy:
if: github.ref_name == github.event.repository.default_branch
name: Deploy website
needs: ci
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.url }}
outputs:
page-url: ${{ steps.deployment.outputs.url }}
steps:
- id: deployment
uses: hoverkraft-tech/ci-github-publish/actions/deploy/github-pages@5ff7d4c3910971ed53834becd5967271b4e228cf # 0.21.1
with:
build-path: packages/docs/build
build-artifact-id: ${{ needs.ci.outputs.build-artifact-id }}