We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd59fdc commit 998597eCopy full SHA for 998597e
.github/workflows/update-chains.yml
@@ -21,8 +21,11 @@ jobs:
21
- name: Install dependencies
22
run: yarn install
23
24
+ - name: Install ts-node
25
+ run: yarn global add ts-node
26
+
27
- name: Update chains data
- run: ts-node -O '{ "module": "commonjs" }' src/scripts/update-chains.ts
28
+ run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/update-chains.ts
29
30
- name: Commit changes
31
id: commit-changes
@@ -32,8 +35,9 @@ jobs:
32
35
BRANCH_NAME=update-chains-$(date +%Y%m%dT%H%M%S)
33
36
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
34
37
git checkout -b $BRANCH_NAME
- git add .
38
+ git add -A
39
git commit -m 'Update chains data'
40
+ git push origin $BRANCH_NAME
41
42
- name: Create Pull Request
43
uses: peter-evans/create-pull-request@v3
0 commit comments