Skip to content

Commit

Permalink
ddfsd
Browse files Browse the repository at this point in the history
  • Loading branch information
alankritdabral committed Jan 6, 2024
1 parent 500314c commit 3cc8896
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions .github/workflows/job1.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
name: Node.js CI
name: Reusable workflow example

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
inputs:
config-path:
required: true
type: string
secrets:
token:
required: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.token }}
configuration-path: ${{ inputs.config-path }}

0 comments on commit 3cc8896

Please sign in to comment.