Skip to content

Bump react-ga from 3.3.0 to 3.3.1 #2208

Bump react-ga from 3.3.0 to 3.3.1

Bump react-ga from 3.3.0 to 3.3.1 #2208

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
env:
cache-version: cache1
jobs:
test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
- uses: actions/checkout@v2
- name: Cache npm directory
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ env.cache-version }}-${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-npm-
- run: npm ci
- run: npm test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
- uses: actions/checkout@v2
- name: Cache npm directory
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ env.cache-version }}-${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-npm-
- run: npm ci
- run: npm run lint
lighthouse:
name: Lighthouse Test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
- uses: actions/checkout@v2
- name: Cache npm directory
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ env.cache-version }}-${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-npm-
- name: Cache build directory
uses: actions/cache@v2
with:
path: .next
key: ${{ env.cache-version }}-${{ runner.os }}-next-${{ hashFiles('**/*.ts') }}-${{ hashFiles('**/*.tsx') }}-${{ hashFiles('**/*.js') }}-${{ hashFiles('**/*.jsx') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-next-
- run: npm ci
- run: npm run build
env:
WORKS_GITHUB_TOKEN: ${{ secrets.WORKS_GITHUB_TOKEN }}
PHOTOS_INSTAGRAM_TOKEN: ${{ secrets.PHOTOS_INSTAGRAM_TOKEN }}
- uses: treosh/lighthouse-ci-action@v7
with:
configPath: '.github/lighthouse.json'
uploadArtifacts: true