Skip to content

chore: use gha instead of drone #4

chore: use gha instead of drone

chore: use gha instead of drone #4

Workflow file for this run

name: "Build"
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: arc-runner
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: devenv
# - name: Install devenv.sh
# run: nix profile install tarball+https://install.devenv.sh/latest
#
- name: Setup For Test
shell: devenv shell bash -e {0}
run: |
mkdir $HOME/.aws
vault kv get -mount="secret" -field credentials "ci/aws" > $HOME/.aws/credentials
aws --endpoint-url http://100.82.97.39:9000 s3 cp s3://repo-obsidian-kobo-highlights-import/KoboReader.sqlite KoboReader.sqlite
- name: Test
shell: devenv shell bash -e {0}
run: npm run test