Skip to content

Initial Commit

Initial Commit #2

Workflow file for this run

name: Deploy
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
install:
name: Install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install Packages
run: yarn install --immutable
lint:
name: Lint
runs-on: ubuntu-latest
needs: [install]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install Packages
run: yarn install --immutable
- name: Lint
run: yarn lint
test:
name: Test
runs-on: ubuntu-latest
needs: [install]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install Packages
run: yarn install --immutable
- name: Coverage
run: yarn run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build
runs-on: ubuntu-latest
needs: [install]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install Packages
run: yarn install --immutable
- name: Build
run: yarn run build