-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* env: use setup composit action * env: define node-version-matrix variable * fix: remove unused action * fix: add compisite * fix: first checkout * env: fix syntax * fix: add missing property
- Loading branch information
1 parent
260e0c7
commit 4313479
Showing
7 changed files
with
38 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
name: Setup | ||
description: Setup development environment | ||
inputs: | ||
node-version-matrix: | ||
required: false | ||
description: you can use matrix strategy | ||
default: 'false' | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Node.js | ||
if: ${{ inputs.node-version-matrix == 'false' }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .tool-versions | ||
- name: Setup Node.js | ||
if: ${{ inputs.node-version-matrix != 'false' }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ inputs.node-version-matrix }} | ||
- name: Enable corepack | ||
shell: bash | ||
run: corepack enable | ||
- name: Install dependencies | ||
shell: bash | ||
run: yarn install --immutable |
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
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