-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6484ca9
commit c1fcb8f
Showing
1 changed file
with
38 additions
and
38 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 |
---|---|---|
@@ -1,38 +1,38 @@ | ||
name: Build and test the esy package | ||
|
||
on: | ||
- push | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- macos-latest | ||
- macos-13 | ||
- ubuntu-latest | ||
- windows-latest | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
|
||
- name: Install esy and esy-package | ||
run: npm install -g esy esy-package@latest | ||
|
||
- name: Run end-to-end tests on the package | ||
run: DEBUG=bale*,verdaccio* esy-package | ||
shell: bash | ||
env: | ||
SHELL: "bash.exe" # HACK!! For some weird reason, $SHELL in Github actions' Windows' bash shell doesn't set this environment variable. We rely on it to figure if path normalisation is necessary on Gitbash Windows | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: release | ||
path: package.tar.gz | ||
name: Build and test the esy package | ||
|
||
on: | ||
- push | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- macos-latest | ||
- macos-13 | ||
- ubuntu-latest | ||
- windows-latest | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
|
||
- name: Install esy and esy-package | ||
run: npm install -g esy esy-package@latest | ||
|
||
- name: Run end-to-end tests on the package | ||
run: DEBUG=bale*,verdaccio* esy-package | ||
shell: bash | ||
env: | ||
SHELL: "bash.exe" # HACK!! For some weird reason, $SHELL in Github actions' Windows' bash shell doesn't set this environment variable. We rely on it to figure if path normalisation is necessary on Gitbash Windows | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: release | ||
path: package.tar.gz |