forked from ml-in-barcelona/fullstack-reason-react-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 802 Bytes
/
deploy.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
name: Build on CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
name: Deploy
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install esy
run: npm install -g esy
- uses: esy/github-action@6a5070d392db3e8c776724674737cab37c07263d
with:
source-cache-key: 20240511-2
cache-key: ${{ hashFiles('esy.lock/index.json') }}-20240511-1
- name: Export esy cache
run: esy export-dependencies
- uses: actions/[email protected]
with:
name: dependencies-cache-${{ matrix.os }}
path: _export