Files
pnpm/.github/workflows/ci.yml
dependabot[bot] b6dc9439ae chore(deps): bump the github-actions group across 1 directory with 5 updates (#10291)
Bumps the github-actions group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `6.0.0` | `6.0.1` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.31.5` | `4.31.7` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `2.4.2` | `2.5.0` |
| [actions/setup-node](https://github.com/actions/setup-node) | `6.0.0` | `6.1.0` |
| [cbrgm/mastodon-github-action](https://github.com/cbrgm/mastodon-github-action) | `2.1.21` | `2.1.22` |



Updates `actions/checkout` from 6.0.0 to 6.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...8e8c483db8)

Updates `github/codeql-action` from 4.31.5 to 4.31.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](fdbfb4d275...cf1bb45a27)

Updates `softprops/action-gh-release` from 2.4.2 to 2.5.0
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](5be0e66d93...a06a81a03e)

Updates `actions/setup-node` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](2028fbc5c2...395ad32622)

Updates `cbrgm/mastodon-github-action` from 2.1.21 to 2.1.22
- [Release notes](https://github.com/cbrgm/mastodon-github-action/releases)
- [Commits](96ff691bc4...771a360594)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.31.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: softprops/action-gh-release
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: cbrgm/mastodon-github-action
  dependency-version: 2.1.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 15:25:20 +01:00

78 lines
2.3 KiB
YAML

name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
# Skip pull_request events from PRs in the same repo. This prevents
# duplicate build jobs from running when creating a PR in the original repo.
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }}-${{ matrix.node[0] }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
node:
- [20, 19, 4]
- [22, 12, 0]
- [24, 0, 0]
- [25, 0, 0]
platform:
- ubuntu-latest
- windows-latest
name: ${{matrix.platform}} / Node.js ${{ matrix.node[0] }}
runs-on: ${{matrix.platform}}
steps:
- name: Configure Git
run: |
git config --global core.autocrlf false
git config --global user.name "xyz"
git config --global user.email "x@y.z"
- name: Checkout Commit
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
standalone: false
- name: Setup Node
run: pnpm env use -g ${{ join(matrix.node, '.') }}
timeout-minutes: 1
- name: Install npm@8
run: pnpm add --global npm@8
timeout-minutes: 1
- name: pnpm install
run: pnpm install
timeout-minutes: 2
# - name: Cache TypeScript and Jest
# uses: actions/cache@v3
# with:
# path: |
# packages/*/lib
# packages/*/tsconfig.tsbuildinfo
# privatePackages/*/lib
# privatePackages/*/tsconfig.tsbuildinfo
# .jest-cache
# .verdaccio-cache
# key: ts-jest-${{ matrix.platform }}-${{ matrix.node }}-${{ github.run_id }}
# restore-keys: ts-jest-${{ matrix.platform }}-${{ matrix.node }}-
- name: run tests (main)
timeout-minutes: 70
if: github.ref_name == 'main'
run: pnpm run test-main
env:
PNPM_WORKERS: 3
- name: run tests (branch)
timeout-minutes: 70
if: github.ref_name != 'main'
run: pnpm run test-branch
env:
PNPM_WORKERS: 3