Skip to content

update vf-graphql to 0.9.0-alpha.11 via forked npm package #822

update vf-graphql to 0.9.0-alpha.11 via forked npm package

update vf-graphql to 0.9.0-alpha.11 via forked npm package #822

Workflow file for this run

name: Checks
on: [push, pull_request]
jobs:
checks:
timeout-minutes: 100
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
fail-fast: false
steps:
- name: Fetch source code
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
.cargo/bin/
.cargo/registry/index/
.cargo/registry/cache/
.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Setup Xcode version
if: ${{ runner.os == 'macOS' }}
uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable
- name: Check macOS version
if: ${{ runner.os == 'macOS' }}
run: sw_vers
- name: Set up 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
substituters = https://cache.nixos.org https://cache.holo.host https://ci-builds.cachix.org https://holochain-ci.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.holo.host-1:lNXIXtJgS9Iuw4Cu6X0HINLu9sTfcjEntnrgwMQIMcE= cache.holo.host-2:ZJCkX3AUYZ8soxTLfTb60g+F3MkWD7hkH9y8CgqwhDQ= ci-builds.cachix.org-1:fxB0+h/MMlCpXf6hFsQM31YpHbaQoRmcNPNHwDUkXA4= holochain-ci.cachix.org-1:5IUSkZc0aoRS53rfkvH9Kid40NpyjwCMCzwRTXy+QN8=
- uses: cachix/cachix-action@v12
with:
name: ci-builds
authToken: "${{ secrets.CACHIX_TOKEN }}"
- name: Inspect nix.conf
run: cat ~/.config/nix/nix.conf
- name: Install recent bash, and set as NIX_BUILD_SHELL # needed by macos, which has an older bash incompatible with nix
if: ${{ runner.os == 'macOS' }}
run: echo "NIX_BUILD_SHELL=$(nix-build -A bashInteractive '<nixpkgs>')/bin/bash" >> $GITHUB_ENV
- name: Prepare Nix environment
run: nix develop --command bash -c "echo Completed"
- name: Install pnpm dependencies
run: nix develop --command bash -c 'pnpm install'
- name: Build WASM and typescript
run: nix develop --command bash -c 'npm run build'
- name: Run integration tests
run: nix develop --command bash -c 'npm run test:integration'