Skip to content

Merge pull request #18 from carrot-kpi/chore/upgrade-dependencies #78

Merge pull request #18 from carrot-kpi/chore/upgrade-dependencies

Merge pull request #18 from carrot-kpi/chore/upgrade-dependencies #78

Workflow file for this run

name: CI
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, reopened]
env:
NEXT_PUBLIC_FATHOM_SITE_ID: ${{ secrets.FATHOM_SITE_ID }}
FATHOM_SITE_ID: ${{ secrets.FATHOM_SITE_ID }}
FATHOM_API_KEY: ${{ secrets.FATHOM_API_KEY }}
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Lint
run: yarn lint