-
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
way nicer this way! see actions/runner#646 (comment)
- Loading branch information
1 parent
252881a
commit 8838675
Showing
6 changed files
with
62 additions
and
84 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Build TypeScript | ||
description: Compiles our TypeScript code | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Register Problem Matcher | ||
run: echo "##[add-matcher].github/problemMatchers/tsc.json" | ||
shell: bash | ||
|
||
- name: Run tsc | ||
run: yarn buildTsc | ||
shell: bash |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Set up node and dependencies | ||
description: Runs all the setup steps required to have the proper Node version and all dependencies installed | ||
runs: | ||
using: composite | ||
steps: | ||
# Use Node version specified in .nvmrc | ||
# https://github.com/actions/setup-node/issues/32#issuecomment-525791142 | ||
- name: Read .nvmrc | ||
id: nvm | ||
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | ||
shell: bash | ||
|
||
- name: Use Node.js (.nvmrc) | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "${{ steps.nvm.outputs.NVMRC }}" | ||
cache: "yarn" | ||
|
||
- name: List versions | ||
run: | | ||
echo "Versions:" | ||
echo "Node `node --version`" | ||
echo "yarn `yarn --version`" | ||
shell: bash | ||
|
||
- name: Install dependencies | ||
run: yarn --frozen-lockfile --network-concurrency 1 | ||
shell: bash |
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
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
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
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