Skip to content

Photo credit attribution #75

Photo credit attribution

Photo credit attribution #75

Workflow file for this run

name: Database Lint 2
on:
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- id: nodeversion
run: echo "NODE=$(cat .nvmrc)" >> $GITHUB_OUTPUT
- name: restore Cache
uses: actions/cache@master
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Use Node.js ${{steps.nodeversion.outputs.NODE}}
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nodeversion.outputs.NODE }}
- name: install
run: |
yarn
- name: lint
run: |
yarn lint
- name: create-json secret
uses: jsdaniell/[email protected]
with:
name: "key.json"
json: ${{ secrets.GDOC_KEY }}
- name: Test generation
run: |
node src/generate.js test