Skip to content

Dynamically import crypto-specific packages (#232) #614

Dynamically import crypto-specific packages (#232)

Dynamically import crypto-specific packages (#232) #614

Workflow file for this run

name: NodeJS Continuous Health Check
on:
push:
branches: [master]
paths-ignore:
- 'documentation/**'
- 'README.md'
- 'errors.log'
pull_request:
branches: [master]
paths-ignore:
- 'documentation/**'
- 'README.md'
- 'errors.log'
jobs:
node_ci:
runs-on: ${{ matrix.os }}
env:
NODE_CACHE: 'npm'
PARALLEL: 1
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Check out repository
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
uses: actions/checkout@v3
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- name: Setup node env
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: false
registry-url: https://registry.npmjs.org
cache: ${{ env.NODE_CACHE }}
- uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- name: Install deps
run: npm ci --prefer-offline --no-audit
- name: Build affected
run: npm run build
# - name: Test affected
# run: npm run test
- name: Lint affected
run: npm run lint