%PDF- %PDF-
| Direktori : /home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/find-my-way/.github/workflows/ |
| Current File : /home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/find-my-way/.github/workflows/node.js.yml |
name: Node CI
on:
push:
branches:
- main
- next
pull_request:
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version:
- 20
- 22
- 24
- 26
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7
with:
check-latest: true
node-version: ${{ matrix.node-version }}
- name: Install
run: |
npm install --ignore-scripts
- name: Lint
run: |
npm run test:lint
- name: Test
run: |
npm test
- name: Test (compiled lookup)
env:
NODE_OPTIONS: --require=./test/helpers/compiled-lookup-preload.js
run: |
npx borp
- name: Type Definitions
run: |
npm run test:typescript
automerge:
if: >
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
needs: test
runs-on: ubuntu-latest
permissions:
actions: write
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@73ec4cbb5e56df5591eae286972d5b2201ffe90f # v3.15.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}