Bump typedoc from 0.26.4 to 0.26.5 #394
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
compat: | |
name: Check compatibility | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node_version: | |
- 16 | |
- 18 | |
- 20 | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
cache: 'npm' | |
node-version: ${{ matrix.node_version }} | |
- run: npm ci --no-fund --no-audit | |
- name: Run tests | |
run: npm run test | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
cache: 'npm' | |
node-version: 20 | |
- run: npm ci --no-fund --no-audit | |
- name: Run checks | |
run: npm run check:ci | |
- name: Collect coverage | |
run: npm run coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
release: | |
name: Release | |
needs: | |
- check | |
permissions: | |
contents: write | |
id-token: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'friedemannsommer' && github.ref_name == 'main' | |
concurrency: '${{ github.workflow }}-${{ github.ref }}' | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
cache: 'npm' | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm ci --no-fund --no-audit | |
- name: Create release PR or publish | |
uses: changesets/action@v1.4.7 | |
with: | |
title: 'ci(changesets): package release' | |
commit: 'ci(changesets): version package' | |
publish: npm run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |