Skip to content

Commit

Permalink
CI: add github actions setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed May 19, 2024
1 parent a561cc4 commit 0c4df58
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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

0 comments on commit 0c4df58

Please sign in to comment.