-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fail on any error on Windows (#1752)
- Loading branch information
1 parent
f9adea9
commit 25a2154
Showing
3 changed files
with
66 additions
and
39 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,45 @@ | ||
name: "Setup Node.js" | ||
description: "Set up Node.js and install dependencies" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: "yarn" | ||
|
||
- name: Install dependencies | ||
run: | | ||
corepack enable | ||
yarn install | ||
- name: List installed packages | ||
run: | | ||
yarn list | ||
- name: Print some environment info | ||
run: | | ||
yarn cross-env echo $NODE_ENV | ||
- name: Build Tact compiler | ||
run: | | ||
yarn clean | ||
yarn gen | ||
yarn build | ||
- name: Test Tact compiler | ||
run: | | ||
yarn coverage | ||
- name: Show an example .pkg file on Windows | ||
if: runner.os == 'Windows' | ||
run: | | ||
type examples\output\echo_Echo.pkg | ||
- name: Link Tact yarn package | ||
run: | | ||
yarn link |
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