Skip to content

feat(*): refactoring user for sc2 user support #1141

feat(*): refactoring user for sc2 user support

feat(*): refactoring user for sc2 user support #1141

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 ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: echo "@infragistics:registry=https://packages.infragistics.com/npm/js-licensed/" >> ~/.npmrc
- run: echo "//packages.infragistics.com/npm/js-licensed/:_auth=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
- run: echo "//packages.infragistics.com/npm/js-licensed/:always-auth=true" >> ~/.npmrc
- run: npm ci
- run: npm run lint
- run: npm run test:prod
- run: cat ./coverage/{bellum-gens,common,eb-league}/lcov.info > coverage/lcov.info
- name: Publish to coveralls.io
if: matrix.node-version == '18.x'
uses: coverallsapp/[email protected]
with:
github-token: ${{ github.token }}
- name: Cypress run
if: matrix.node-version == '18.x'
uses: cypress-io/[email protected]
with:
build: npm run build:ssr
start: npm run serve:ssr:bellumgens