Landing update #84
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: Simple Comment | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
test-netlify-functions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install | |
run: | | |
npm install yarn@^1 --no-package-lock -g | |
yarn --frozen-lockfile --production=false --ignore-optional | |
- name: Lint | |
run: yarn run lint | |
- name: Format | |
run: yarn run prettier --list-different . | |
- name: Build Netlify functions | |
run: yarn run build:netlify | |
- name: Test Netlify functions | |
run: | | |
node ./scripts/createTestEnv.mjs | |
yarn test |