Skip to content

Commit

Permalink
Use the compiled version so you don't have to install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Bellangelo committed Aug 24, 2024
1 parent 47c4a0e commit 00c83ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: '20'

- name: Install dependencies
run: npm ci
run: npm install

- name: Run tests
run: npm run test
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/replace-keywords.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2

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

- name: Install Node.js dependencies
run: |
npm install
working-directory: ./
uses: actions/checkout@v4

- name: Run the Node.js action to replace keywords
id: replace-keywords
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ outputs:
description: 'The updated comment body with keywords replaced.'
runs:
using: 'node20'
main: 'src/index.js'
main: 'dist/index.js'

0 comments on commit 00c83ac

Please sign in to comment.