Skip to content

Commit

Permalink
Attempt CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Mar 12, 2024
1 parent aebb391 commit 72d3133
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-replace-npm-dependencies-sources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "build-replace-npm-dependencies-sources"
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches: [ main ]

jobs:
build-and-cache:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Install nix
uses: cachix/install-nix-action@v18
with:
install_url: https://releases.nixos.org/nix/nix-2.12.0/install
extra_nix_config: |
experimental-features = flakes nix-command
- uses: cachix/cachix-action@v10
with:
name: holochain-ci

- name: Build zomes
env:
CACHIX_AUTH_TOKEN: "${{ secrets.CACHIX_TOKEN_HOLOCHAIN_OPEN_DEV }}"
run: |
nix build -L .#replace-npm-dependencies-sources | cachix push holochain-open-dev
cachix pin holochain-open-dev replace-npm-dependencies-sources $(nix path-info .#replace-npm-dependencies-sources)

0 comments on commit 72d3133

Please sign in to comment.