Change image to use github.url to allow testing of social media images #24
This file contains 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: Lint Posts | |
on: | |
pull_request: | |
branches: | |
- 'gh-pages' # Runs when a PR targets the gh-pages branch | |
jobs: | |
lint-posts: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: npm | |
- run: npm ci | |
- run: npm run lint |