Skip to content

Commit

Permalink
Create webpack.yml
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Malandro9493 authored Dec 10, 2024
1 parent 69b7f42 commit 7445ee9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7445ee9

Please sign in to comment.