Skip to content

dependency bumps node 18 #24

dependency bumps node 18

dependency bumps node 18 #24

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
- '!master'
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm i
- name: Check formatting
run: npm run format:check
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm i
- name: Run linter
run: npm run lint
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm i
- name: Build application
run: npm run build
env:
NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN: ${{ secrets.NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN }}
NEXT_PUBLIC_CONTENTFUL_SPACE_ID: ${{ secrets.NEXT_PUBLIC_CONTENTFUL_SPACE_ID }}
LAYOUT_ENTRY_ID: ${{ secrets.LAYOUT_ENTRY_ID }}