kopia lustrzana https://github.com/badgen/badgen.net
ci: enable lint on pr from forks
Per comment https://github.com/badgen/badgen.net/pull/453#issuecomment-743983653pull/454/head
rodzic
67af3004ee
commit
b3334b5825
|
@ -1,6 +1,10 @@
|
|||
name: lint and build
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- '**:**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -8,10 +12,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '12'
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm ci
|
||||
|
|
Ładowanie…
Reference in New Issue