Skip to content

Commit

Permalink
bundle and yarn audit on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregurevic committed Oct 8, 2024
1 parent 5a4e7af commit 83a3117
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Audit
on: [push]

jobs:
bundle-audit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Run bundle-audit
continue-on-error: true
run: |
gem install bundler-audit
bundle-audit check --update
yarn-aduit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: '.tool-versions'
cache: yarn

- name: Run yarn-audit
continue-on-error: true
run: yarn audit

0 comments on commit 83a3117

Please sign in to comment.