-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 880 Bytes
/
ci.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
name: Build on CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
name: Deploy
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install esy
run: npm install -g esy@dev
- uses: esy/github-action@6a5070d392db3e8c776724674737cab37c07263d
with:
source-cache-key: 20240624-1
cache-key: ${{ hashFiles('esy.lock/index.json') }}-20240511-1
esy-prefix: ${{ runner.os == 'Windows' && 'D:/.esy' || $HOME }}
- name: Export esy cache
run: esy export-dependencies
- uses: actions/[email protected]
with:
name: dependencies-cache-${{ matrix.os }}
path: _export