Skip to content

Commit

Permalink
Update to latest actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Gross committed Jun 28, 2021
1 parent 6723192 commit 936c9d9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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')}}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Integration

on:
push: {branches: main}
pull_request: {branches: main}
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test-return:
Expand Down Expand Up @@ -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')}}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
@@ -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:

Expand All @@ -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')}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pull Request Test

on:
pull_request:
branches: main
branches: [main]
types: [opened, synchronize]

jobs:
Expand Down

0 comments on commit 936c9d9

Please sign in to comment.