mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-10-21 11:16:21 +00:00
Bumps the actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [dessant/lock-threads](https://github.com/dessant/lock-threads) and [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) Updates `dessant/lock-threads` from 4.0.0 to 6.0.2 - [Release notes](https://github.com/dessant/lock-threads/releases) - [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md) - [Commits](https://github.com/dessant/lock-threads/compare/c1b35aecc5cdb1a34539d14196df55838bb2f836...89ae32b08ed1a541efecbab17912962a5e38981c) Updates `actions/setup-node` from 4 to 7 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: dessant/lock-threads dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
name: PR
|
|
on: [pull_request]
|
|
|
|
|
|
# Read-only token: no step writes through GITHUB_TOKEN.
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
pr:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
step: ['lint', 'test', 'build']
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
YARN_ENABLE_SCRIPTS: false
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: 'lts/*'
|
|
- name: ${{ matrix.step }}
|
|
if: always()
|
|
run: |
|
|
yarn install --immutable
|
|
yarn ${{ matrix.step }}
|
|
# `yarn lint` runs eslint --fix and `yarn build` regenerates the augment
|
|
# interfaces, so both pass on a tree they rewrote. The committed tree must
|
|
# already be what they produce.
|
|
- name: tree unchanged
|
|
run: git diff --exit-code --stat
|
|
# The package.json each build/ directory holds is what npm receives: every
|
|
# entry point must name a file that is there, with no ./build/ or ./cjs/cjs/
|
|
# path and no string spread into exports (the January 2026 fault).
|
|
- name: check built manifests
|
|
if: matrix.step == 'build'
|
|
run: python3 scripts/check-built-manifests.py .
|
|
# The four polkadot-api packages ship committed dist/ builds; their source
|
|
# maps must embed exactly the src/ committed beside them.
|
|
- name: check papi sources
|
|
if: matrix.step == 'lint'
|
|
run: node scripts/check-papi-sources.mjs
|