chore(deps): lock file maintenance #193
Workflow file for this run
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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 |