mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
Merge pull request #38 from wagoid/perf/use-alpine-image
perf: improve action pull speed by using an alpine image
This commit is contained in:
commit
88672c7e09
3 changed files with 13 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -9,6 +9,6 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '10.x'
|
||||
node-version: '12.x'
|
||||
- run: npm install
|
||||
- run: npm test -- --ci --coverage
|
||||
|
|
|
|||
9
.github/workflows/commitlint.yml
vendored
9
.github/workflows/commitlint.yml
vendored
|
|
@ -26,3 +26,12 @@ jobs:
|
|||
- uses: ./
|
||||
with:
|
||||
configFile: './.commitlintrc.yml'
|
||||
commitlint-pulling-from-docker-hub:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: ./
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
FROM node:10
|
||||
FROM node:12-alpine3.9
|
||||
|
||||
RUN apk --no-cache add git
|
||||
|
||||
COPY package*.json /
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue