Skip to content

Add basic tests against package*.json changes#277

Closed
j9t wants to merge 2 commits intomainfrom
feat/tests
Closed

Add basic tests against package*.json changes#277
j9t wants to merge 2 commits intomainfrom
feat/tests

Conversation

@j9t
Copy link
Member

@j9t j9t commented Feb 14, 2026

Basic test to make sure dep updates do not cause the site build to fail.

Set this up with LTS .nvmrc but tests may make more sense with the latest version. Open to both.

j9t added 2 commits February 14, 2026 16:26
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
@j9t j9t requested a review from arkhi February 14, 2026 15:30
Comment on lines +12 to +24
name: "Test changed package*.json and changed Node versions"
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
uses: actions/checkout@v6
- name: "Set up Node.js using .nvmrc information"
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
- name: "Install dependencies"
run: npm ci
- name: "Run Eleventy"
run: npx @11ty/eleventy --incremental No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
@j9t j9t closed this Feb 14, 2026
@j9t
Copy link
Member Author

j9t commented Feb 14, 2026

Missed we already have something. Nice—cheers @arkhi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant