diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 03654e6..bd6c7a3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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