diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 856ebc3..7fccb76 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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