Skip to content

changeset

changeset #180

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: giphy-web
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- name: Build
run: yarn run build
- name: Lint and Test
run: yarn run lint && yarn run test
- name: Cypress
run: yarn run cy:run --record --key $CYPRESS_RECORD_KEY
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: License Check
run: yarn run check-licenses
env:
LICENSE_PROJECT_LOCATION: ${{ secrets.LICENSE_PROJECT_LOCATION }}
LICENSE_CATEGORIES_LOCATION: ${{ secrets.LICENSE_CATEGORIES_V2_LOCATION }}