vagrant up issue #16
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: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: | | |
sudo apt-get update | |
sudo apt-get install -y vagrant virtualbox | |
- 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 |