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

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

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

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

Workflow file for this run

name: ci
on:
push:
jobs:
secretlint:
name: Secretlint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup Node.js
uses: actions/setup-node@v4
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 "./*"