ci: upgrade node version #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run unit tests | |
on: push | |
jobs: | |
run-tests: | |
name: Setup & run tests | |
runs-on: ubuntu-latest | |
env: | |
NODE_VERSION: 20.9.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: "recursive" | |
- name: Setup Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Update NPM | |
run: npm install -g npm | |
- name: Install auto-changelog | |
run: npm install -g auto-changelog | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Run tests with ts-jest | |
run: npm test |