Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwiniag committed Oct 12, 2024
1 parent 287b245 commit ecdfd6d
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/actions/gokakashi-scan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,18 @@ outputs:
description: 'URL of the scan report'

runs:
using: 'node16'
pre: |
npm install
main: 'index.js'
using: 'composite'
steps:
# Set up Node.js
- uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: npm # Cache dependencies to speed up workflow runs
# Install dependencies
- run: npm ci # Installs dependencies from package-lock.json (clean install)
working-directory: ./.github/actions/gokakashi-scan
shell: bash
# Run the index.js script after installing dependencies
- run: node index.js # Executes your script
working-directory: ./.github/actions/gokakashi-scan
shell: bash

0 comments on commit ecdfd6d

Please sign in to comment.