Skip to content

ci: introduce devbox to stabilize environment #304

ci: introduce devbox to stabilize environment

ci: introduce devbox to stabilize environment #304

Workflow file for this run

name: Qualify Branch
on: push
jobs:
qualify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install
uses: jetpack-io/[email protected]
with:
enable-cache: true
- name: npm env
id: npm
shell: bash
run: |
echo "npm_hash_key=${{ runner.os }}-npm-store-${{ hashFiles('**/package-lock.json') }}" >> "$GITHUB_OUTPUT"
echo "npm_restore_key=${{ runner.os }}-npm-store-" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
name: setup pnpm cache
with:
path: '**/node_modules'
key: ${{ steps.npm.outputs.npm_hash_key }}
restore-keys: ${{ steps.npm.outputs.npm_restore_key }}
- name: install
run: devbox run npm ci
- name: build
run: devbox run build