Skip to content

ci

ci #9

Workflow file for this run

name: ci
on: workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: 'https://npm.pkg.github.com'
scope: '@bepower'
- run: node --version
- run: npm ci
- run: npm test
lerna-checkout-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: 'https://npm.pkg.github.com'
scope: '@bepower'
- run: npm ci
- run: npx lerna changed -la --loglevel silly
auto-checkout-npm:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
issues: read
pull-requests: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: 'https://npm.pkg.github.com'
scope: '@bepower'
- run: npm ci
- run: npm run build
- run: npx auto version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}