Skip to content

Update package.json #134

Update package.json

Update package.json #134

Workflow file for this run

name: Test
on:
pull_request:
branches: [ develop, main ]
jobs:
lint:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.head.repo.owner.login == github.repository_owner }}
name: Lint
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Lint
uses: wearerequired/[email protected]
with:
github_token: ${{ secrets.github_token }}
eslint: true
eslint_extensions: js,cjs,mjs
eslint_args: "--max-warnings 0"
build:
runs-on: ubuntu-latest
name: Build Test
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build