2
0
mirror of https://github.com/frappe/books.git synced 2024-11-15 01:44:04 +00:00
books/.github/workflows/test.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
1.0 KiB
YAML
Raw Normal View History

2022-10-31 08:14:27 +00:00
name: Test
on:
push:
branches: [$default-branch]
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
2022-10-31 08:21:52 +00:00
setup_and_test:
2024-08-10 05:53:50 +00:00
runs-on: macos-latest
2022-10-31 08:14:27 +00:00
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
2024-01-15 23:31:18 +00:00
node-version: '18.19.0'
2022-10-31 08:14:27 +00:00
- name: Set yarn version
run: yarn set version 1.22.18
- name: Checkout Books
uses: actions/checkout@v2
- name: Install Dependencies
run: yarn
2023-06-27 06:12:47 +00:00
- name: Run Tests
run: yarn test
setup_and_uitest:
2024-08-10 05:53:50 +00:00
runs-on: macos-latest
2023-06-27 06:12:47 +00:00
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
2024-01-15 23:31:18 +00:00
node-version: '18.19.0'
2023-06-27 06:12:47 +00:00
- name: Set yarn version
run: yarn set version 1.22.18
- name: Checkout Books
uses: actions/checkout@v2
- name: Install Dependencies
run: yarn
- name: Build Source Files
run: yarn build --nosign --nopackage
- name: Run UI Tests
run: yarn uitest