Skip to content

Handle cases when a project doesn't use codeownership (#19) #69

Handle cases when a project doesn't use codeownership (#19)

Handle cases when a project doesn't use codeownership (#19) #69

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18]
runs-on: ${{ matrix.os }}
steps:
- name: Set git to use LF
if: ${{ matrix.os == 'windows-latest' }}
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run build:prod
- run: npm test