Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ankri committed Oct 29, 2024
1 parent 7e9dd1a commit fc0d1ea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A @tangro action to run `npm audit --json`. It also adds a status for the audit.

# Version

You can use a specific `version` of this action. The latest published version is `v2.0.27`. You can also use `latest` to always get the latest version.
You can use a specific `version` of this action. The latest published version is `v2.0.28`. You can also use `latest` to always get the latest version.

# Parameters:

Expand All @@ -25,13 +25,13 @@ audit:
- name: Checkout latest code
uses: actions/checkout@v4
- name: Use Node.js 16.x
uses: actions/setup-node@v4.0.4
uses: actions/setup-node@v4.1.0
with:
node-version: 16.x
- name: Run npm install
run: npm install
- name: Run audit
uses: tangro/actions-audit@v2.0.27
uses: tangro/actions-audit@v2.0.28
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand All @@ -56,7 +56,7 @@ It is also possible that the action posts a comment with the result to the commi

```yml
- name: Run audit
uses: tangro/actions-audit@v2.0.27
uses: tangro/actions-audit@v2.0.28
with:
post-comment: true
env:
Expand All @@ -77,13 +77,13 @@ audit:
- name: Checkout latest code
uses: actions/checkout@v4
- name: Use Node.js 16.x
uses: actions/setup-node@v4.0.4
uses: actions/setup-node@v4.1.0
with:
node-version: 16.x
- name: Run npm install
run: npm install
- name: Run audit
uses: tangro/actions-audit@v2.0.27
uses: tangro/actions-audit@v2.0.28
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand Down

0 comments on commit fc0d1ea

Please sign in to comment.