This repository has been archived by the owner on Dec 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TypeScript installation to CI. (#1770)
- Loading branch information
1 parent
2743e24
commit 220d8a8
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 { | ||
|
@@ -458,6 +465,7 @@ let workflow = { | |
]), | ||
lint: job_on_macos("Linter", [ | ||
installNode, | ||
installTypeScript, | ||
installRust, | ||
installPrettier, | ||
installClippy, | ||
|
@@ -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, | ||
|
@@ -486,6 +497,7 @@ let workflow = { | |
build: job_on_all_platforms("Build", [ | ||
getCurrentReleaseChangelogInfo, | ||
installNode, | ||
installTypeScript, | ||
installRust, | ||
installWasmPack, | ||
// Needed for package signing on macOS. | ||
|