Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Add TypeScript installation to CI. (#1770)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMauderer authored Aug 9, 2021
1 parent 2743e24 commit 220d8a8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gui-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.15.0
- name: Install TypeScript
run: npm install -g [email protected]
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -130,6 +132,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.15.0
- name: Install TypeScript
run: npm install -g [email protected]
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -151,6 +155,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.15.0
- name: Install TypeScript
run: npm install -g [email protected]
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -205,6 +211,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.15.0
- name: Install TypeScript
run: npm install -g [email protected]
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -282,6 +290,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.15.0
- name: Install TypeScript
run: npm install -g [email protected]
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down
12 changes: 12 additions & 0 deletions build/workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ let installClippy = {
run: "rustup component add clippy"
}

// Install fixed version to avoid upgrading to a breaking version.
// Should be removed once this has a better solution as described here:
// https://github.com/enso-org/ide/issues/1772
let installTypeScript = {
name: "Install TypeScript",
run: "npm install -g [email protected]"
}

function installWasmPackOn(name,sys,pkg) {
return {
Expand Down Expand Up @@ -458,6 +465,7 @@ let workflow = {
]),
lint: job_on_macos("Linter", [
installNode,
installTypeScript,
installRust,
installPrettier,
installClippy,
Expand All @@ -467,17 +475,20 @@ let workflow = {
]),
test: job_on_macos("Tests", [
installNode,
installTypeScript,
installRust,
testNoWASM,
]),
"wasm-test": job_on_macos("WASM Tests", [
installNode,
installTypeScript,
installRust,
installWasmPack,
testWASM
]),
simple_build: job_on_macos("Simple Build (WASM size limit check)", [
installNode,
installTypeScript,
installRust,
installWasmPack,
installJava,
Expand All @@ -486,6 +497,7 @@ let workflow = {
build: job_on_all_platforms("Build", [
getCurrentReleaseChangelogInfo,
installNode,
installTypeScript,
installRust,
installWasmPack,
// Needed for package signing on macOS.
Expand Down

0 comments on commit 220d8a8

Please sign in to comment.