Skip to content

Merge pull request #3 from pnetwork-association/refactor/user-data-hook #34

Merge pull request #3 from pnetwork-association/refactor/user-data-hook

Merge pull request #3 from pnetwork-association/refactor/user-data-hook #34

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: 'false'
fetch-depth: '0'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./package-lock.json
- run: git config --global url."https://${{ secrets.PROVABLE_MACHINE_GENERAL_PAT }}@github.com/".insteadOf ssh://[email protected]/
- run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm run tests