Skip to content

chore(deps): update actions/checkout action to v4 (#160) #353

chore(deps): update actions/checkout action to v4 (#160)

chore(deps): update actions/checkout action to v4 (#160) #353

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: ci
jobs:
linkinator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: ./
with:
skip: "CHANGELOG.md"
- uses: ./
with:
paths: test/fixtures/test.md
concurrency: 1
markdown: true
linksToSkip: "http://fake.local, http://fake.local/fake"
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v3
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run lint
ncc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
token: ${{ secrets.BECKWITH_ROBOT_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run build
- name: git config
run: |
git config user.name BeckwithRobot
git config user.email [email protected]
- name: git push
run: |
git commit -a -m 'npm run build' || echo 'no changes'
git push