Skip to content

Bump @types/node from 12.20.55 to 20.13.0 #31

Bump @types/node from 12.20.55 to 20.13.0

Bump @types/node from 12.20.55 to 20.13.0 #31

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_test_job:
name: 'Build and test job'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: 'Checking out repo code'
uses: actions/checkout@v4
- name: 'Setup Node.js'
uses: actions/setup-node@v4
with:
node-version: '20'
- name: 'Validate build'
run: |
npm install
npm run build
- name: 'Run L0 tests'
run: |
npm run test
# validate if the dist folder has no changes that are not commited
- name: Check for uncommitted changes
shell: pwsh
run: |
if ((git status --porcelain dist).Length -ne 0) {
Write-Output "dist folder has changes that are not committed:"
git status --porcelain dist
exit 1
}
else {
Write-Output "dist folder has no changes"
}