Skip to content

Commit

Permalink
Fix update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thejetou committed Oct 30, 2023
1 parent f6cff59 commit 44ea782
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ jobs:
cd pokemon-showdown
node --max-old-space-size=4096 tools/set-import 2.0.0
cd ..
rsync -v --delete -r pokemon-showdown/tools/set-import/sets/ damagecalc/import/node_modules/@smogon/sets
rsync --mkpath -v --delete -r pokemon-showdown/tools/set-import/sets/ damagecalc/import/node_modules/@smogon/sets
cd damagecalc
cd import
npm install
npm run compile
cd ..
mkdir import/node_modules/@smogon/sets/build
cp import/node_modules/@smogon/sets/index.js import/node_modules/@smogon/sets/index.d.ts import/node_modules/@smogon/sets/build
node import/ps-import
node import/import
- name: Commit and push if it changed
Expand Down

0 comments on commit 44ea782

Please sign in to comment.