fixup #9
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: Build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Packages | |
run: npm ci | |
- name: Generate docs using template without front matter (this step will pass) | |
run: ./node_modules/.bin/jsdoc2md lib.js -t template-without-frontmatter.hbs | |
- name: Generate docs using template with front matter (this will pass first time) | |
run: ./node_modules/.bin/jsdoc2md lib.js -t template-with-frontmatter.hbs | |
- name: Perform a trivial edit on input file (change 'This function does a thing' to 'This function does stuff') | |
run: sed -i 's/a thing/stuff/g' lib.js | |
- name: Generate docs using template with front matter (this time it will fail) | |
run: ./node_modules/.bin/jsdoc2md lib.js -t template-with-frontmatter.hbs |