generated from esy-packages/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 1.02 KB
/
workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build and test the esy package
on:
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-13
- 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 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