Skip to content

Commit

Permalink
Merge pull request #193 from wagoid/chore/upgrade-deps-and-readme
Browse files Browse the repository at this point in the history
chore: upgrade deps and readme
  • Loading branch information
wagoid committed Jul 15, 2021
2 parents c6ec005 + e0fb983 commit 46370a5
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 13,216 deletions.
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

0 comments on commit 46370a5

Please sign in to comment.