Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade deps and readme #193

Merged
merged 3 commits into from Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Expand Up @@ -9,3 +9,4 @@ src/action.test.js
src/testUtils.js
.eslintignore
.eslintrc.json
.nvmrc
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '12.x'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm
Expand All @@ -31,10 +31,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '12.x'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/commitlint.yml
Expand Up @@ -10,10 +10,10 @@ jobs:
fetch-depth: 0
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
- run: echo -n '' > .dockerignore
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '14'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm
Expand All @@ -35,10 +35,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '14'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
16
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v3
- uses: wagoid/commitlint-github-action@v4
```

Alternatively, you can run on other event types such as `on: [push]`. In that case the action will lint the push event's commit(s) instead of linting commits from a pull request. You can also combine `push` and `pull_request` together in the same workflow.
Expand Down Expand Up @@ -136,13 +136,13 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install
# Run the commitlint action, considering its own dependencies and yours as well 🚀
# `github.workspace` is the path to your repository.
- uses: wagoid/commitlint-github-action@v3
- uses: wagoid/commitlint-github-action@v4
env:
NODE_PATH: ${{ github.workspace }}/node_modules
```
Expand Down