-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (37 loc) · 1.14 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: 🔄 CI
on:
pull_request:
# Cancel in-progress runs of this workflow.
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: 🔄 CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: release-tooling
- name: ⬢ Enable Corepack
run: corepack enable
- name: ⬢ Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: 🐈 Yarn install
run: cd release-tooling && yarn install --inline-builds
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Checkout the Redwood monorepo
uses: actions/checkout@v4
with:
repository: redwoodjs/redwood
fetch-depth: 0
path: redwood
- name: 🧪 Test
run: cd release-tooling && yarn test ./triage
env:
REDWOOD_GITHUB_TOKEN: ${{ github.token }}
RWFW_PATH: ../redwood