5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +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:
Wagner Santos 2020-07-03 16:03:20 -03:00 committed by GitHub
commit 88672c7e09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 2 deletions

View file

@ -9,6 +9,6 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '12.x'
- run: npm install - run: npm install
- run: npm test -- --ci --coverage - run: npm test -- --ci --coverage

View file

@ -26,3 +26,12 @@ jobs:
- uses: ./ - uses: ./
with: with:
configFile: './.commitlintrc.yml' 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: ./

View file

@ -1,4 +1,6 @@
FROM node:10 FROM node:12-alpine3.9
RUN apk --no-cache add git
COPY package*.json / COPY package*.json /