forked from bitwiseops/obsidian-kobo-highlights-import
-
Notifications
You must be signed in to change notification settings - Fork 9
31 lines (31 loc) · 964 Bytes
/
earth.yaml
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
name: "npm"
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
test:
runs-on: arc-runner
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v4
- name: install packages
run: sudo apt-get update && sudo apt-get install -y curl xz
- 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