vagrant up issue #11
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: Verify | |
on: | |
push: | |
branches: [ main ] | |
workflow_call: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
verified: | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
- test | |
- typecheck | |
steps: | |
- run: echo "Dorcas Reilly's Green Beans" | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: corepack enable && corepack prepare pnpm@latest --activate | |
- run: pnpm i -P | |
- run: pnpm build | |
- run: pnpm dev -h | |
test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: brew install --cask virtualbox | |
- run: brew install --cask vagrant | |
- run: where virtualbox | |
- run: sudo rm -rf /opt/vagrant/embedded/bin/curl | |
- run: corepack enable && corepack prepare pnpm@latest --activate | |
- run: pnpm i | |
- run: pnpm build | |
- run: vagrant up --debug --provider virtualbox | |
working-directory: test/vms | |
- run: pnpm test | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: corepack enable && corepack prepare pnpm@latest --activate | |
- run: pnpm i | |
- run: pnpm check |