-
Notifications
You must be signed in to change notification settings - Fork 177
54 lines (45 loc) · 1.67 KB
/
create-manifest.yml
File metadata and controls
54 lines (45 loc) · 1.67 KB
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
name: Create Manifest E2E
on:
push:
pull_request:
jobs:
create-manifest:
name: Run on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies (workspaces)
run: npm i
- name: Run create-manifest (with parameters)
env:
NODE_ENV: test
working-directory: packages/create-manifest
run: >-
node --loader ts-node/esm bin/dev.js
ci-test-${{ runner.os }}
--backendFile=https://raw.githubusercontent.com/mnfst/manifest/main/packages/create-manifest/assets/standalone/manifest.yml
- name: Verify generated files and parameters
run: node scripts/verify-create-manifest.mjs packages/create-manifest/ci-test-${{ runner.os }}
- name: Run create-manifest with windsurf flag
env:
NODE_ENV: test
working-directory: packages/create-manifest
run: >-
node --loader ts-node/esm bin/dev.js
ci-test-windsurf-${{ runner.os }}
--windsurf
--backendFile=https://raw.githubusercontent.com/mnfst/manifest/main/packages/create-manifest/assets/standalone/manifest.yml
- name: Verify windsurf flag functionality
run: node scripts/verify-create-manifest.mjs packages/create-manifest/ci-test-windsurf-${{ runner.os }} --expect-windsurf