Last active
April 23, 2025 08:50
-
-
Save j9t/7d91493c5f5e8b993cda2c77473a3c63 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Tests" | |
on: | |
push: | |
paths: | |
- ".nvmrc" | |
- "package.json" | |
- "package-lock.json" | |
jobs: | |
build: | |
name: "Test changed package*.json and changed Node versions" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out repository" | |
uses: actions/checkout@v4 | |
- name: "Set up Node.js using .nvmrc information" | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: "Install dependencies" | |
run: npm ci | |
- name: "Run Eleventy" | |
run: npx @11ty/eleventy --incremental |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment