Skip to content

Gluon testnet launch (gluon-test-1) #691

Gluon testnet launch (gluon-test-1)

Gluon testnet launch (gluon-test-1) #691

Workflow file for this run

name: Node.js CI explorer
on:
pull_request:
paths:
- 'projects/explorer/**'
- 'projects/shared/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm i -g npm@8.19.4
- run: npm ci
- run: npm run build --if-present -- --project=explorer
- run: npm run test -- --project=explorer
env:
CI: true