Add new press: The Stanford Daily (Starling Lab) #525
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: Test PRs | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: Install and build | |
run: | | |
npm install | |
npx honkit build | |
- name: Cache bundled gems | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
# We'd normally use Gemfile.lock, but nonexistent here. | |
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gem- |