GitHub action to create bundles for a stdlib package.
# Workflow name:
name: bundle
# Workflow triggers:
on:
workflow_dispatch:
# Workflow jobs:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
repository: 'stdlib-js/assert-is-nan'
- uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
- name: Install production and development dependencies
id: install
run: |
npm install || npm install || npm install
- name: Bundle `@stdlib/assert-is-nan`
uses: stdlib-js/bundle-action@main
with:
target: "deno"target: Bundle target (deno,umd-node,umd-browser, oresm).pkg: (optional) a string containing the name of the npm package to bundle. Defaults to the package in the current repository.alias: (optional) a string containing an alias for the package in the global scope for theumdbundles. Defaults to the package name.minify: (optional) a boolean indicating whether to minify the bundle. Defaults totrue.
See LICENSE.
Copyright © 2022-2024. The Stdlib Authors.