chore(deps): update actions/setup-java digest to b36c23c #185
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 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@b36c23c0d998641eff861008f374ee103c25ac73 # v4 | |
with: | |
distribution: ${{env.JAVA_DISTRIBUTION}} | |
java-version: ${{env.JAVA_VERSION}} | |
- name: npm run build | |
run: | | |
npm run build --if-present | |
env: | |
CI: true |