Skip to content

back merge

back merge #102

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master, development]
pull_request:
branches: [master, development]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- run: |
rm -rf node_modules package-lock.json
npm i
- run: npm test
env:
TOKEN: ${{secrets.TOKEN}}
TOKEN_WITH_NO_CT: ${{secrets.TOKEN_WITH_NO_CT}}
APIKEY: ${{secrets.APIKEY}}
APIKEY_WITH_NO_CT: ${{secrets.APIKEY_WITH_NO_CT}}
ENVIRONMENT: ${{secrets.ENVIRONMENT}}
REGION: ${{secrets.REGION}}
TOKENTYPE: ${{secrets.TOKENTYPE}}
BRANCH: ${{secrets.BRANCH}}