Skip to content

moduleResolution: nodenext (#45) #99

moduleResolution: nodenext (#45)

moduleResolution: nodenext (#45) #99

Workflow file for this run

name: Test and Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run unit-test
env:
BASE_URL: ${{ secrets.BASE_URL }}
API_USERNAME: ${{ secrets.API_USERNAME }}
API_PASSWORD: ${{ secrets.API_PASSWORD }}
API_ACCOUNT_NUMBER: ${{ secrets.API_ACCOUNT_NUMBER }}
- run: npm run build