Skip to content

Commit

Permalink
chore: build pr-antora-content-guidelines-checker with node 20 (#128)
Browse files Browse the repository at this point in the history
It was previously built with node 16 which is EOL.
Add a GH workflow to validate that the build the action is working.

closes #116 (already done with other PR)
closes #118
  • Loading branch information
tbouffard authored Apr 15, 2024
1 parent b4306c1 commit a4704d2
Show file tree
Hide file tree
Showing 3 changed files with 1,325 additions and 1,298 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build_pr_antora_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build PR antora content guidelines checker

on:
push:
branches: [ main ]
paths:
- 'packages/pr-antora-content-guidelines-checker/*'
pull_request:
branches: [ main ]
paths:
- 'packages/pr-antora-content-guidelines-checker/*'

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: 'packages/pr-antora-content-guidelines-checker/.nvmrc'
- name: Install and Test
run: npm ci && npm run package:all
working-directory: packages/pr-antora-content-guidelines-checker
2 changes: 1 addition & 1 deletion packages/pr-antora-content-guidelines-checker/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
Loading

0 comments on commit a4704d2

Please sign in to comment.