generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #256 from HatsuneMiku3939/feature/add-osx-support
feature: Add OSX runner support
- Loading branch information
Showing
3 changed files
with
82 additions
and
4 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,43 @@ | ||
name: "test" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- 'releases/*' | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-13, macos-14] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: npm ci | ||
- run: npm run prepare | ||
- uses: ./ | ||
with: | ||
masks: SECRET1, SECRET2 | ||
direnvVersion: 2.32.3 | ||
- run: printenv | grep DIRENV_ACTION_TEST | ||
- run: echo $PATH | grep $(pwd)/bin | ||
- run: printenv | ||
|
||
test-default-option: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: npm ci | ||
- run: npm run prepare | ||
- uses: ./ | ||
- run: printenv | grep DIRENV_ACTION_TEST | ||
- run: echo $PATH | grep $(pwd)/bin | ||
- run: printenv |
File renamed without changes.
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