Skip to content

Commit

Permalink
CI: use latest nodejs and esy-package
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed May 25, 2024
1 parent 43e674a commit 261619e
Showing 1 changed file with 37 additions and 39 deletions.
76 changes: 37 additions & 39 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,37 @@
name: Build and test the esy package

on:
- push

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Use Node.js 14.x
uses: actions/setup-node@v3
with:
node-version: 14.x

- name: Install esy, verdaccio and esy-package
run: npm install -g @esy-nightly/esy verdaccio esy-package@dev

- 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
- 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, verdaccio and esy-package
run: npm install -g @esy-nightly/esy verdaccio esy-package@latest # to be reverted to dev

- 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

0 comments on commit 261619e

Please sign in to comment.