-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.nosana-ci.yml
53 lines (45 loc) · 976 Bytes
/
.nosana-ci.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# .nosana-ci.yml
nosana:
description: Nosana gyySPL Template
global:
image: projectserum/build:v0.25.0
trigger:
branch:
- "*"
jobs:
- name: install_build
commands:
- npm ci
- anchor build
artifacts:
- name: anchor_target
path: ./target/
- name: node_modules
path: ./node_modules/
- name: npm_tests
commands:
- npm run eslint
- npm run prettier
- npm run check-types
resources:
- name: node_modules
path: ./
- name: anchor_test
commands:
- solana-keygen new --no-bip39-passphrase
- anchor test --skip-build
resources:
- name: node_modules
path: ./
- name: anchor_target
path: ./
- name: cargo_test
commands:
- cargo check --resources
- cargo test --release
- cargo clippy --release
resources:
- name: node_modules
path: ./
- name: anchor_target
path: ./