Merge pull request #79 from klarna/allow-skipping-set-public-true #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Klarna repolint | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install repolinter log-symbols | |
# @TODO Remove when fixed | |
- name: Fix missing dependency in repolint | |
run: npm install is-windows | |
- name: Use custom rules | |
run: wget https://raw.githubusercontent.com/klarna-incubator/meta/master/repolint.json | |
- name: Run repolint | |
run: ./node_modules/.bin/repolinter $GITHUB_WORKSPACE |