Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ concurrency:
cancel-in-progress: true

env:
NODEJS_VERSION: "18.x"
# Testing runs out of memory without this
NODE_OPTIONS: "--max-old-space-size=4096"
PROJEN_BUMP_VERSION: "0.0.0-dev.${{ github.run_id }}.${{ github.run_attempt }}"
Expand Down Expand Up @@ -100,10 +99,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODEJS_VERSION }}
- name: Setup Node/NPM
uses: volta-cli/[email protected]

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand All @@ -121,21 +118,14 @@ jobs:
- name: Lint Nx
run: npx nx workspace-lint

- name: Build and Unit Test
- name: Build, Test, and Package
uses: MansaGroup/nrwl-nx-action@v2
with:
targets: "build"
targets: "build,test,package"
all: true
# Exclude E2E testing
args: "--exclude=hangar --configuration=release --output-style=stream --verbose"

- name: Create NPM packages
uses: MansaGroup/nrwl-nx-action@v2
with:
targets: "package"
projects: "winglang,sdk"
args: "--configuration=release --output-style=stream --verbose"

- name: Upload Wing CLI
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -230,11 +220,6 @@ jobs:
- name: Download Build Artifacts
uses: actions/download-artifact@v2

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODEJS_VERSION }}

- name: Tag commit
uses: tvdias/[email protected]
if: ${{ needs.prepare.outputs.last-version != needs.prepare.outputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion apps/jsii-docgen/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"executor": "nx:run-script",
"options": {
"cwd": "apps/jsii-docgen",
"script": "build"
"script": "compile"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion apps/wing-api-checker/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"executor": "nx:run-script",
"options": {
"cwd": "apps/wing-api-checker",
"script": "build"
"script": "compile"
}
}
}
Expand Down