Skip to content

Merge pull request #26 from Hoxtygen/chore-add-microsoft-clarity-anal… #108

Merge pull request #26 from Hoxtygen/chore-add-microsoft-clarity-anal…

Merge pull request #26 from Hoxtygen/chore-add-microsoft-clarity-anal… #108

Workflow file for this run

name: Test CI
on:
push:
branches:
- "*"
pull_request:
branches: ["develop", "main"]
jobs:
tests:
runs-on: ubuntu-latest
env:
GRAPHCMS_TOKEN: ${{secrets.GRAPHCMS_TOKEN}}
NEXT_PUBLIC_GRAPHCMS_ENDPOINT: ${{secrets.NEXT_PUBLIC_GRAPHCMS_ENDPOINT}}
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: yarn install
run: yarn install
- name: yarn lint
run: yarn lint
- name: tests
run: yarn test:ci
env:
CI: true