Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Merge pull request #29 from takeokunn/dependabot/npm_and_yarn/main/se… #15

Merge pull request #29 from takeokunn/dependabot/npm_and_yarn/main/se…

Merge pull request #29 from takeokunn/dependabot/npm_and_yarn/main/se… #15

Workflow file for this run

name: ci
on:
push:
jobs:
secretlint:
name: Secretlint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: cache ./node_modules
id: cache-npm
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-yarn-
- name: npm install
if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm install
- name: Run secretlint
run: npx secretlint "./*"