build(deps): bump ip from 2.0.0 to 2.0.1 #860
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
YARN_IGNORE_NODE: 1 | |
jobs: | |
ci: | |
name: CI | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] # , windows-latest] | |
node-version: [18, 20] | |
fail-fast: false # true | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- uses: moonrepo/tool-version-action@v1 | |
with: | |
node: ${{ matrix.node-version }} | |
- run: yarn install --immutable | |
- run: yarn run setup | |
- run: yarn run moon --color --log debug ci | |
integrate: | |
name: Integrations | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn run setup | |
- run: cd scenarios/jest && yarn test | |
- run: cd scenarios/snowpack && yarn build | |
- run: cd scenarios/vite && yarn build | |
- run: cd scenarios/webpack && yarn build | |
compat: | |
name: Compatibility | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn run setup | |
- run: yarn run moon run :build | |
# - run: yarn ts-node --cwd ./tests --transpileOnly ./testPackemonImports.ts | |
- run: node ./tests/testPackemonImports.mjs | |
scaffold-mono: | |
name: Scaffold (monorepo) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn run setup | |
- run: mkdir ../work | |
- run: yarn packemon scaffold --packageManager npm --template monorepo ../work | |
- run: yarn packemon scaffold --packageManager npm --template monorepo-package ../work | |
# Test all the things | |
- run: cd ../work | |
- run: ls -R . | |
- run: yarn run moon check --all | |
scaffold-poly: | |
name: Scaffold (polyrepo) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn run setup | |
- run: mkdir ../work | |
- run: yarn packemon scaffold --packageManager npm --template polyrepo ../work | |
- run: yarn packemon scaffold --packageManager npm --template polyrepo-package ../work | |
# Test all the things | |
- run: cd ../work | |
- run: ls -R . | |
- run: yarn run moon check --all |