Skip to content
name: Create production-ready build
on:
pull_request:
branches: [main, release/**, 'system-dapp-ci-1stattempt']
push:
branches: [main, release/**, 'system-dapp-ci-1stattempt']
tags: [v*]
env:
OWNER: hashgraph
PACKAGE_NAME: hedera-smart-contracts
REGISTRY: ghcr.io
jobs:
production-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js [18.15]
uses: actions/setup-node@v3
with:
node-version: 18.15
- name: Install dependencies
run: npm install
- name: Create production-ready build
run: |
cd ./system-contract-dapp-playground
npm install
npm run build