Skip to content

chore: synced file(s) with cds-snc/site-reliability-engineering #1164

chore: synced file(s) with cds-snc/site-reliability-engineering

chore: synced file(s) with cds-snc/site-reliability-engineering #1164

Workflow file for this run

name: Node CI/CD
on:
pull_request:
branches:
- main
env:
NODE_VERSION: 12
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{env.NODE_VERSION}}
uses: actions/setup-node@v1
with:
node-version: ${{env.NODE_VERSION}}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true
- name: npm lint
run: |
npm run lint
env:
CI: true