Bump typedoc from 0.26.3 to 0.26.4 (#156) #382
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/[email protected] | |
- uses: actions/[email protected] | |
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/[email protected] | |
- uses: actions/[email protected] | |
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/[email protected] | |
- uses: actions/[email protected] | |
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/[email protected] | |
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 }} |