From 7445ee9747ad372d20144160bd9bef8bc89e0382 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 10 Dec 2024 07:05:26 -0600 Subject: [PATCH] Create webpack.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Paquete de prueba (ubuntu-latest) tuvo éxito Hace 2 díasen 1m 1s 7s 3s 5s 0s 0s 4s 0s 1s 27 años 2s 6s 0s 0s 2s 0s Limpieza posterior al trabajo. /usr/bin/git versión versión git 2.47.1 Anulación temporal de HOME='/home/runner/work/_temp/3134e04b-71cf-4f41-ada4-53368f8b6b8d' antes de realizar cambios en la configuración global de Git Agregar un directorio de repositorio a la configuración global temporal de Git como directorio seguro /usr/bin/git config --global --add safe.directory /inicio/runner/trabajo/java-tree-sitter/java-tree-sitter /usr/bin/git config --local --name-only --get-regexp core\.sshComando /usr/bin/git submódulo foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" Entrando en el 'núcleo' /usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader http://github.com/.extraheader /usr/bin/git config --local --unset-all http. https://github.com/.extraheader /usr/bin/git submódulo foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http. https://github.com/.extraheader ' || :" Entrando en el 'núcleo' http://github.com/.extraheader git clone --depth=1 https://github.com/tree-sitter/tree-sitter-java cd tree-sitter-java cmake -B build \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_BINDIR=lib \ -DCMAKE_INSTALL_PREFIX="$RUNNER_TOOL_CACHE/tree-sitter/lib" cmake --build build && cmake --install build --config Debughttps://github.com/.extraheaderhttp://github.com/.extraheaderPREFIX="$RUNNER_TOOL_CACHE/tree-sitter/lib" printf 'PKG_CONFIG_PATH=%s/lib/pkgconfig\n' >> "$GITHUB_ENV" \ "${PKG_CONFIG_PATH}${PKG_CONFIG_PATH+:}${PREFIX}" if [[ $RUNNER_OS == Linux ]]; then printf 'LD_LIBRARY_PATH=%s/lib\n' >> "$GITHUB_ENV" \ "${LD_LIBRARY_PATH}${LD_LIBRARY_PATH+:}${PREFIX}" elif [[ $RUNNER_OS == macOS ]]; then printf 'DYLD_LIBRARY_PATH=%s/lib\n' >> "$GITHUB_ENV" \ "${DYLD_LIBRARY_PATH}${DYLD_LIBRARY_PATH+:}${PREFIX}" else printf '%s/lib\n' "$PREFIX" >> "$GITHUB_PATH" fihttps://github.com/tree-sitter/tree-sitter-javahttps://github.com/tree-sitter/java-tree-sitter/commit/06d6e879a8104523234443e20fdee0cb173e1587#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L1-R333 --- .github/workflows/webpack.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/webpack.yml diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml new file mode 100644 index 00000000..9626ff6d --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,28 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + npx webpack