Skip to content

Commit

Permalink
Merge 8104f3d into 48e7758
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanista authored Nov 27, 2023
2 parents 48e7758 + 8104f3d commit 9682444
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/build_serverless.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: build_serverless

on:
push:
branches:
- "master"
pull_request:
on: [push, pull_request]

jobs:
check-formatting:
Expand All @@ -15,16 +11,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 16

- name: Cache Node modules
id: cache-node-modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -40,7 +36,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Cloud Formation Linter with Latest Version
uses: scottbrenner/cfn-lint-action@v2
Expand All @@ -58,12 +54,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 16

- name: Cache Node modules
id: cache-node-modules
Expand All @@ -86,20 +82,20 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14, 16, 18, 20]

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Cache Node modules
id: cache-node-modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand Down

0 comments on commit 9682444

Please sign in to comment.