Skip to content

add job dependency

add job dependency #5

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm install
- run: npm run build
bundle:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/upload-artifact@v4
with:
name: bundle
path: |
index.html
lib
dist
example
LICENSE.txt