-
Notifications
You must be signed in to change notification settings - Fork 24
60 lines (59 loc) · 1.52 KB
/
integ.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: integ
on:
pull_request: {}
workflow_dispatch: {}
merge_group: {}
jobs:
init:
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install pipenv
run: pip install pipenv
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.18"
- name: Run integration tests
run: yarn run integ:init
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- macos-latest
- ubuntu-latest
init-typescript-app:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodeVersion }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run integration tests
run: yarn run integ:init:typescript-app-npm
- name: Run integration tests
run: yarn run integ:init:typescript-app-yarn
strategy:
fail-fast: false
matrix:
nodeVersion:
- 18