Skip to content

Handling Leap Year Issue and more #119

Handling Leap Year Issue and more

Handling Leap Year Issue and more #119

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