Skip to content

Merge pull request #1 from ing-bank/repo-prep-split-commit #5

Merge pull request #1 from ing-bank/repo-prep-split-commit

Merge pull request #1 from ing-bank/repo-prep-split-commit #5

# This workflow will do a clean installation of node dependencies,
# cache/restore them, build the source code and run tests.
name: Build and Test CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '21.x'
cache: 'npm'
- run: npm install
- run: npm run compile
- run: npm run test