Skip to content

Commit

Permalink
Test graaljs-maven-webpack-guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Oct 4, 2024
1 parent 13ccbe6 commit 4bd72a8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/graaljs-maven-webpack-guide.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test GraalJS Maven Webpack Guide
on:
push:
paths:
- 'graaljs/graaljs-maven-webpack-guide/**'
- '.github/workflows/graaljs-maven-webpack-guide.yml'
pull_request:
paths:
- 'graaljs/graaljs-maven-webpack-guide/**'
- '.github/workflows/graaljs-maven-webpack-guide.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: 'graaljs-maven-webpack-guide'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.0'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Build and run 'graaljs-maven-webpack-guide'
run: |
cd graaljs/graaljs-maven-webpack-guide
./mvnw --no-transfer-progress package
./mvnw --no-transfer-progress exec:java -Dexec.mainClass=com.example.App -Dexec.args="https://www.graalvm.org/javascript"

0 comments on commit 4bd72a8

Please sign in to comment.