fix(deps): major dependency upgrades #202
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: 🔎 Tests | |
on: | |
push: | |
branches: [ master, develop, next/* ] | |
pull_request: | |
branches: [ master, develop, next/* ] | |
jobs: | |
ubuntu_build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Only maintenance and LTS major versions | |
node-version: ['20', '22', '23'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache node modules | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }} | |
- name: Install package | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm install -g yarn && yarn install | |
- name: Build TS | |
run: yarn build | |
- name: Test package and Code coverage | |
run: yarn test |