Skip to content

Merge pull request #1520 from Phala-Network/dependabot/cargo/standalo… #3759

Merge pull request #1520 from Phala-Network/dependabot/cargo/standalo…

Merge pull request #1520 from Phala-Network/dependabot/cargo/standalo… #3759

name: Build JS Script
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-js-script:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts/js
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn install
- run: yarn build src/console.js
- run: yarn build src/worker-snapshot/*.js
- uses: actions/upload-artifact@v3
with:
name: dist
path: ./scripts/js/dist