Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xBoyMinemc authored Nov 4, 2024
1 parent f331a4d commit cb3bd21
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,16 @@ jobs:

- name: Install dependencies
run: npm i


- name: Remove nested node_modules directory
run: |
# Check if the directory exists and remove it
if [ -d "node_modules/@minecraft/server-gametest/node_modules" ]; then
rm -rf node_modules/@minecraft/server-gametest/node_modules
fi
if [ -d "node_modules/@minecraft/server-ui/node_modules" ]; then
rm -rf node_modules/@minecraft/server-ui/node_modules
fi
- name: tsc build
run: tsc --skipLibCheck

- name: webpack build
run: webpack

- name: Build project
run: npm run build
run: node packer.js

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit cb3bd21

Please sign in to comment.