Skip to content

Merge pull request #1553 from Phala-Network/dependabot/npm_and_yarn/f… #3850

Merge pull request #1553 from Phala-Network/dependabot/npm_and_yarn/f…

Merge pull request #1553 from Phala-Network/dependabot/npm_and_yarn/f… #3850

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