mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Update to latest actions
This commit is contained in:
parent
672319273b
commit
936c9d9f72
4 changed files with 19 additions and 12 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -1,17 +1,20 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push: {branches: main}
|
||||
pull_request: {branches: main}
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with: {node-version: 13.x}
|
||||
- uses: actions/cache@v1
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
|
||||
|
|
|
|||
8
.github/workflows/integration.yml
vendored
8
.github/workflows/integration.yml
vendored
|
|
@ -1,8 +1,10 @@
|
|||
name: Integration
|
||||
|
||||
on:
|
||||
push: {branches: main}
|
||||
pull_request: {branches: main}
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test-return:
|
||||
|
|
@ -39,7 +41,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v1
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
|
||||
|
|
|
|||
8
.github/workflows/licensed.yml
vendored
8
.github/workflows/licensed.yml
vendored
|
|
@ -1,8 +1,10 @@
|
|||
name: Licensed
|
||||
|
||||
on:
|
||||
push: {branches: main}
|
||||
pull_request: {branches: main}
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
@ -12,7 +14,7 @@ jobs:
|
|||
name: Check licenses
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v1
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
|
||||
|
|
|
|||
2
.github/workflows/pull-request-test.yml
vendored
2
.github/workflows/pull-request-test.yml
vendored
|
|
@ -2,7 +2,7 @@ name: Pull Request Test
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: main
|
||||
branches: [main]
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue