File tree 7 files changed +1293
-0
lines changed
7 files changed +1293
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Main Workflow
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ schedule :
8
+ - cron : ' 0 * * * *'
9
+
10
+ jobs :
11
+ main :
12
+ runs-on : ubuntu-latest
13
+ env :
14
+ working-directory : ./
15
+ strategy :
16
+ matrix :
17
+ node-version : [16.13.0]
18
+
19
+ steps :
20
+
21
+ - name : Use Node.js ${{ matrix.node-version }}
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Environment Preparation
25
+ uses : actions/setup-node@v4
26
+ with :
27
+ node-version : ${{ matrix.node-version }}
28
+
29
+ - name : Dependencies Installation
30
+ working-directory : ./
31
+ run : |
32
+ npm install
33
+
34
+ - name : Create env parameters
35
+ working-directory : ./
36
+ run : |
37
+ touch .env
38
+ echo BLOCKCHAIN_CONNECTION_STRING=${{ secrets.BLOCKCHAIN_CONNECTION_STRING }} >> .env
39
+
40
+ - name : Build JSONs
41
+ working-directory : ./
42
+ run : |
43
+ npm run start
44
+
45
+ - name : Commit changes
46
+ uses : EndBug/add-and-commit@v9
47
+ with :
48
+ author_name : King Julian
49
+
50
+ message : " Build JSONs"
51
+ add : " ./src/output/output.json"
52
+ env :
53
+ GITHUB_TOKEN : ${{ secrets.COMMIT_AUTH_TOKEN }}
Original file line number Diff line number Diff line change
1
+ # Logs
2
+ logs
3
+ * .log
4
+ npm-debug.log *
5
+ yarn-debug.log *
6
+ yarn-error.log *
7
+ lerna-debug.log *
8
+ .pnpm-debug.log *
9
+ .vscode
10
+
11
+ # Diagnostic reports (https://nodejs.org/api/report.html)
12
+ report. [0-9 ]* . [0-9 ]* . [0-9 ]* . [0-9 ]* .json
13
+
14
+ # Runtime data
15
+ pids
16
+ * .pid
17
+ * .seed
18
+ * .pid.lock
19
+
20
+ # Directory for instrumented libs generated by jscoverage/JSCover
21
+ lib-cov
22
+
23
+ # Coverage directory used by tools like istanbul
24
+ coverage
25
+ * .lcov
26
+
27
+ # nyc test coverage
28
+ .nyc_output
29
+
30
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
31
+ .grunt
32
+
33
+ # Bower dependency directory (https://bower.io/)
34
+ bower_components
35
+
36
+ # node-waf configuration
37
+ .lock-wscript
38
+
39
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
40
+ build /Release
41
+
42
+ # Dependency directories
43
+ node_modules /
44
+ jspm_packages /
45
+
46
+ # Snowpack dependency directory (https://snowpack.dev/)
47
+ web_modules /
48
+
49
+ # TypeScript cache
50
+ * .tsbuildinfo
51
+
52
+ # Optional npm cache directory
53
+ .npm
54
+
55
+ # Optional eslint cache
56
+ .eslintcache
57
+
58
+ # Optional stylelint cache
59
+ .stylelintcache
60
+
61
+ # Microbundle cache
62
+ .rpt2_cache /
63
+ .rts2_cache_cjs /
64
+ .rts2_cache_es /
65
+ .rts2_cache_umd /
66
+
67
+ # Optional REPL history
68
+ .node_repl_history
69
+
70
+ # Output of 'npm pack'
71
+ * .tgz
72
+
73
+ # Yarn Integrity file
74
+ .yarn-integrity
75
+
76
+ # dotenv environment variable files
77
+ .env
78
+ .env.development.local
79
+ .env.test.local
80
+ .env.production.local
81
+ .env.local
82
+
83
+ # parcel-bundler cache (https://parceljs.org/)
84
+ .cache
85
+ .parcel-cache
86
+
87
+ # Next.js build output
88
+ .next
89
+ out
90
+
91
+ # Nuxt.js build / generate output
92
+ .nuxt
93
+ dist
94
+
95
+ # Gatsby files
96
+ .cache /
97
+ # Comment in the public line in if your project uses Gatsby and not Next.js
98
+ # https://nextjs.org/blog/next-9-1#public-directory-support
99
+ # public
100
+
101
+ # vuepress build output
102
+ .vuepress /dist
103
+
104
+ # vuepress v2.x temp and cache directory
105
+ .temp
106
+ .cache
107
+
108
+ # Docusaurus cache and generated files
109
+ .docusaurus
110
+
111
+ # Serverless directories
112
+ .serverless /
113
+
114
+ # FuseBox cache
115
+ .fusebox /
116
+
117
+ # DynamoDB Local files
118
+ .dynamodb /
119
+
120
+ # TernJS port file
121
+ .tern-port
122
+
123
+ # Stores VSCode versions used for testing VSCode extensions
124
+ .vscode-test
125
+
126
+ # yarn v2
127
+ .yarn /cache
128
+ .yarn /unplugged
129
+ .yarn /build-state.yml
130
+ .yarn /install-state.gz
131
+ .pnp. *
You can’t perform that action at this time.
0 commit comments