GitHub Action for setting up Utoo - a unified frontend toolchain.
- uses: utooland/setup-utoo@v1
with:
utoo-version: 'latest'
- uses: utooland/setup-utoo@v1
with:
utoo-version: '1.0.0'
registry: 'https://registry.npmjs.org/'
- uses: utooland/setup-utoo@v1
with:
utoo-version: 'latest'
cache-store: true # enable ~/.cache/nm tgz cache
Input | Description | Default |
---|---|---|
utoo-version |
The version of Utoo to install (e.g. "latest", "1.0.0", "1.0.x") | latest |
registry |
The URL of the npm registry to use for installing Utoo | https://registry.npmjs.org/ |
cache-store |
Cache npm store directory (~/.cache/nm) for faster package installations | false |
Output | Description |
---|---|
utoo-version |
The version of Utoo that was installed |
name: Build with Utoo
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: utooland/setup-utoo@v1
with:
utoo-version: 'latest'
- name: Install dependencies
run: utoo
- name: Build project
run: utoo build
- ✅ Registry Support: Configure custom npm registries
- ✅ Dual Cache Support:
- ✅ NPM Store Cache: Cache npm packages in ~/.cache/nm for
- ✅ Cross-platform: Works on Ubuntu, macOS
- ✅ Version Management: Support for specific versions and ranges
MIT