Skip to content

feat: add CI to merge step #1

feat: add CI to merge step

feat: add CI to merge step #1

Workflow file for this run

name: CI - Build and Test
on: pull_request
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install packages
run: yarn install --frozen-lockfile --prefer-offline
- name: Test
run: yarn test:cov
- name: Build
run: yarn build