chore(deps): update actions/setup-java digest to 8df1039 #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Node.js | |
"on": | |
pull_request: | |
push: | |
branches: [main] | |
env: | |
JAVA_VERSION: "17" | |
JAVA_DISTRIBUTION: "microsoft" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 1 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
repository: okhiroyuki/composite-actions | |
path: ./.github/actions/composite-actions | |
- uses: ./.github/actions/composite-actions/setup-node | |
- name: npm test | |
run: npm test --if-present | |
env: | |
CI: true | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
needs: test | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
repository: okhiroyuki/composite-actions | |
path: ./.github/actions/composite-actions | |
- uses: ./.github/actions/composite-actions/setup-node | |
- name: set up JDK | |
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4 | |
with: | |
distribution: ${{env.JAVA_DISTRIBUTION}} | |
java-version: ${{env.JAVA_VERSION}} | |
- name: npm run build | |
run: | | |
npm run build --if-present | |
env: | |
CI: true |