Skip to content

Local testnet simulator implementation #13

Local testnet simulator implementation

Local testnet simulator implementation #13

Workflow file for this run

name: Package Artifact Tests
on:
pull_request:
jobs:
test-package-artifacts:
runs-on: ubuntu-latest
env:
DEBUG_TEST_SETUP: true
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm install # npm install instead of npm ci is used to prevent unsupported platform errors due to the fsevents sub-dependency --no-optional
- name: Setup Deno
uses: denolib/setup-deno@v2
with:
deno-version: '1.36.2'
- name: Build package artifacts
run: npm run build
- name: Remove source files
run: rm -rf src
- name: Run tests against package artifacts
run: npm run test:package