Proposal for Message Pickup v4 #96
Workflow file for this run
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: Protocol Pull Request | |
on: | |
pull_request: | |
branches: main | |
paths: | |
- 'site/content/protocols/**/*' | |
jobs: | |
validate: | |
name: validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- id: files | |
uses: jitterbit/get-changed-files@v1 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 14 | |
- name: Install dependencies | |
run: npm ci | |
- name: Test markdown | |
run: npx remark ${{ steps.files.outputs.added_modified }} | |
- name: Test meta | |
run: node scripts/validate.js ${{ steps.files.outputs.added_modified }} |