Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

ci: update GitHub actions to use Node 16 #1847

ci: update GitHub actions to use Node 16

ci: update GitHub actions to use Node 16 #1847

Workflow file for this run

name: Verify
on:
workflow_dispatch:
pull_request:
env:
NODE_VERSION: "18"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
- run: npm ci
- run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
- run: npm ci
- run: npm test
- name: Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
- run: npm ci
- run: npm run generate
env:
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}