Skip to content

Commit

Permalink
fix:github action
Browse files Browse the repository at this point in the history
  • Loading branch information
empty-233 committed Dec 11, 2023
1 parent 9332e57 commit e962391
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/Update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Checkout release
uses: actions/checkout@v4
with:
ref: release
path: data

- name: pnpm install
run: pnpm install

- name: npm install ts-node
run: npm install -g ts-node@10.9.1
run: npm install -g ts-node

- name: Run main.ts with ts-node-esm
run: ts-node-esm main.ts

- name: Checkout release
uses: actions/checkout@v4
with:
ref: release
path: data

# - uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: Auto Update Data
Expand Down

0 comments on commit e962391

Please sign in to comment.