Skip to content

[Job]: Adding built, lint, test, and deployment job (#26) #4

[Job]: Adding built, lint, test, and deployment job (#26)

[Job]: Adding built, lint, test, and deployment job (#26) #4

Workflow file for this run

name: Build
on:
push:
branches: ['development']
pull_request:
branches: ['development']
jobs:
build_test_lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- name: Install Dependencies
run: yarn install
- name: Build
run: yarn build --if-present
- name: Linting
run: yarn lint:staged
- name: Test
run: yarn test