2023-10-09 16:56:05 +00:00
|
|
|
name: Build/Publish
|
|
|
|
|
2023-10-25 17:06:34 +00:00
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
|
2023-10-09 16:56:05 +00:00
|
|
|
jobs:
|
2023-10-25 17:05:10 +00:00
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Use Node.js
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: 18.x
|
|
|
|
cache: 'npm'
|
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build --if-present
|
|
|
|
env:
|
|
|
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
|
|
|
- name: Setup tmate session
|
|
|
|
uses: mxschmitt/action-tmate@v3
|