Skip to content

chore: setup library #1

chore: setup library

chore: setup library #1

Workflow file for this run

name: Tests
on:
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- name: Install Juno CLI
run: npm i -g @junobuild/cli
- name: Install demo dependencies
run: npm ci
working-directory: demo
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /home/runner/.docker
key: ${{ runner.os }}-docker-${{ github.sha }}
restore-keys: |
${{ runner.os }}-docker-
- name: Run tests
run: |
cd demo
juno dev start &
cd ..
npm run e2e:ci
may-merge:
needs: ['tests']
runs-on: ubuntu-latest
steps:
- name: Cleared for merging
run: echo OK