-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 998 Bytes
/
integration-test.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
name: Integration Test
on:
pull_request:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
name: Integration Test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
# - uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@main
with:
jvm: adopt:11
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies & Build & Test Generator
run: |
corepack enable
pnpm install
pnpm build
pnpm test
- name: Register Link Package
run: bun link
working-directory: ./packages/scalawind
- name: Integration Test
run: |
bun install
bun generate
scala-cli test src
working-directory: ./integration