2023-09-10 13:16:43 +01:00
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
2021-02-15 08:11:00 +00:00
name : Node.js CI
on :
push :
2023-09-10 13:16:43 +01:00
branches : [ "typescript" ]
2021-02-15 08:11:00 +00:00
pull_request :
2023-09-10 13:16:43 +01:00
branches : [ "typescript" ]
2021-02-15 08:11:00 +00:00
jobs :
build :
runs-on : ubuntu-latest
strategy :
matrix :
2023-09-10 13:16:43 +01:00
node-version : [ 18. x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2021-02-15 08:11:00 +00:00
steps :
2023-09-10 13:16:43 +01:00
- uses : actions/checkout@v3
2021-02-15 08:11:00 +00:00
- name : Use Node.js ${{ matrix.node-version }}
2023-09-10 13:16:43 +01:00
uses : actions/setup-node@v3
2021-02-15 08:11:00 +00:00
with :
node-version : ${{ matrix.node-version }}
2023-09-10 13:16:43 +01:00
cache : 'npm'
2021-02-15 08:11:00 +00:00
- run : npm ci
2023-09-10 13:16:43 +01:00
# Don't run updateCheck for now
#- run: npm run dev:updateCheck
- run : npm run build
#- run: npm test