Skip to content

chore(deps): lock file maintenance #186

chore(deps): lock file maintenance

chore(deps): lock file maintenance #186

Workflow file for this run

---
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