Skip to content

Add new dfract and millions utility scripts #119

Add new dfract and millions utility scripts

Add new dfract and millions utility scripts #119

Workflow file for this run

name: Format and unit test the code when a pull request is opened
on:
pull_request:
branches:
- master
- develop
types: [opened, edited, synchronize, reopened]
jobs:
build:
name: Format Lint Test Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
env:
CLOUDSDK_CORE_PROJECT: dev
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run code formatter
run: yarn format
- name: Run code linter
run: yarn lint
- name: Run unit tests
run: yarn test
- name: Run build lib, types and docs
run: yarn build