Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
28ef7cc
docs: Fix typo in the word 'maintenance' in changelog (#8215)
josephmarkus Sep 10, 2020
69dd4b9
feat: Drop support for Node.js versions below v10
medikoo Aug 25, 2020
f9c3077
ci: Fix configuration of integrate job
medikoo Aug 25, 2020
e131f26
refactor(AWS Lambda): Remove support for async config on destination
pgrzesik Aug 26, 2020
c620af3
fix(Packaging): Fix resolution of files with '.' In their names (#8130)
crash7 Aug 27, 2020
4ceaca0
refactor(CLI): Remove deprecated bin/serverless file (#8142)
pgrzesik Aug 27, 2020
1596738
feat(AWS HTTP API): Switch default payload mode to 2.0 (#8133)
andreizet Aug 27, 2020
12b979c
test(AWS HTTP API): FIx after default payload mode change
medikoo Aug 28, 2020
1db7f43
chore: Upgrade @serverless/components
medikoo Aug 28, 2020
34b64e0
chore: Upgrade @serverless/enterprise-plugin to v4
medikoo Aug 28, 2020
33eef9f
feat(CLI): Remove "slss", "serverless" command alias (#8161)
crash7 Sep 1, 2020
7c304df
feat(AWS ALB): Remove support for `authorizers[].allowUnauthenticated`
morgan-sam Sep 1, 2020
0160e9e
chore: Upgrade boxen to v4 (#8163)
crash7 Sep 2, 2020
0597cfb
chore: Upgrade ESLint configuration to support ES2019 syntax
medikoo Sep 3, 2020
dfc7839
feat(CLI): Fallback to service local serverless installation by default
medikoo Sep 3, 2020
861686b
refactor: Refactor to async/await
medikoo Sep 3, 2020
1beb8d0
refactor: Replace mkdrip with esnureDir from fs-extra
medikoo Sep 3, 2020
615b10b
test(Packaging): Ensure test is deterministic
medikoo Sep 3, 2020
1cfd1f2
feat(AWS HTTP API): Drop support for `timeout` setting
medikoo Sep 3, 2020
e241cc2
test(AWS HTTP API): Fix after drop for timeout support
medikoo Sep 3, 2020
ff8a548
chore: Bump dependencies
medikoo Sep 10, 2020
dd3508b
chore: Release v2.0.0
medikoo Sep 10, 2020
9f5a077
refactor(Templates): Upgrade `frameworkVersion`
medikoo Sep 2, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 4 additions & 68 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
linuxNode14:
name: '[Linux] Node.js 14: Unit tests & Publish canary'
name: '[Linux] Node.js 14: Publish canary, Unit & packaging tests '
runs-on: ubuntu-latest
steps:
- name: Resolve last validated commit hash (for `git diff` purposes)
Expand Down Expand Up @@ -67,6 +67,8 @@ jobs:
# Some tests depend on TTY support, which is missing in GA runner
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
run: script -e -c "npm test -- -b"
- name: Packaging tests
run: npm run integration-test-run-package

windowsNode14:
name: '[Windows] Node.js v14: Unit tests'
Expand Down Expand Up @@ -168,76 +170,10 @@ jobs:
CODECOV_TOKEN: 3898f3e1-f317-453e-a3a9-0462390f93c5
run: npx codecov

linuxNode8:
name: '[Linux] Node.js v8: Unit & packaging tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Retrieve dependencies from cache
id: cacheNpm
uses: actions/cache@v2
with:
path: |
~/.npm
node_modules
key: npm-v8-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
restore-keys: npm-v8-${{ runner.os }}-${{ github.ref }}-

- name: Install Node.js and npm
uses: actions/setup-node@v1
with:
node-version: 8.x

- name: Install dependencies
if: steps.cacheNpm.outputs.cache-hit != 'true'
run: |
npm update --no-save
npm update --save-dev --no-save
- name: Unit tests
# Some tests depend on TTY support, which is missing in GA runner
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
run: script -e -c "npm test -- -b"
- name: Packaging tests
run: npm run integration-test-run-package

linuxNode6:
name: '[Linux] Node.js v6: Unit tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Retrieve dependencies from cache
id: cacheNpm
uses: actions/cache@v2
with:
path: |
~/.npm
node_modules
key: npm-v6-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
restore-keys: npm-v6-${{ runner.os }}-${{ github.ref }}-

- name: Install Node.js and npm
uses: actions/setup-node@v1
with:
node-version: 6.x

- name: Install dependencies
if: steps.cacheNpm.outputs.cache-hit != 'true'
run: |
npm update --no-save
npm update --save-dev --no-save
- name: Unit tests
# Some tests depend on TTY support, which is missing in GA runner
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
run: script -e -c "npm test -- -b"

integrate:
name: Integrate
runs-on: ubuntu-latest
needs: [linuxNode14, windowsNode14, linuxNode12, linuxNode10, linuxNode8, linuxNode6]
needs: [linuxNode14, windowsNode14, linuxNode12, linuxNode10]
timeout-minutes: 30 # Default is 360
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
74 changes: 3 additions & 71 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
linuxNode14:
name: '[Linux] Node.js 14: Lint, Formatting, Eventual Commitlint, Eventual Changelog & Unit tests'
name: '[Linux] Node.js 14: Lint, Formatting, Eventual Commitlint, Eventual Changelog, Unit & packaging tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -69,6 +69,8 @@ jobs:
# Some tests depend on TTY support, which is missing in GA runner
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
run: script -e -c "npm test -- -b"
- name: Packaging tests
run: npm run integration-test-run-package

windowsNode14:
name: '[Windows] Node.js v14: Unit tests'
Expand Down Expand Up @@ -175,73 +177,3 @@ jobs:
env:
CODECOV_TOKEN: 3898f3e1-f317-453e-a3a9-0462390f93c5
run: npx codecov

linuxNode8:
name: '[Linux] Node.js v8: Unit & packaging tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Retrieve dependencies from cache
id: cacheNpm
uses: actions/cache@v2
with:
path: |
~/.npm
node_modules
key: npm-v8-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
restore-keys: |
npm-v8-${{ runner.os }}-${{ github.ref }}-
npm-v8-${{ runner.os }}-refs/heads/master-

- name: Install Node.js and npm
uses: actions/setup-node@v1
with:
node-version: 8.x

- name: Install dependencies
if: steps.cacheNpm.outputs.cache-hit != 'true'
run: |
npm update --no-save
npm update --save-dev --no-save
- name: Unit tests
# Some tests depend on TTY support, which is missing in GA runner
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
run: script -e -c "npm test -- -b"
- name: Packaging tests
run: npm run integration-test-run-package

linuxNode6:
name: '[Linux] Node.js v6: Unit tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Retrieve dependencies from cache
id: cacheNpm
uses: actions/cache@v2
with:
path: |
~/.npm
node_modules
key: npm-v6-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
restore-keys: |
npm-v6-${{ runner.os }}-${{ github.ref }}-
npm-v6-${{ runner.os }}-refs/heads/master-

- name: Install Node.js and npm
uses: actions/setup-node@v1
with:
node-version: 6.x

- name: Install dependencies
if: steps.cacheNpm.outputs.cache-hit != 'true'
run: |
npm update --no-save
npm update --save-dev --no-save
- name: Unit tests
# Some tests depend on TTY support, which is missing in GA runner
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
run: script -e -c "npm test -- -b"
Loading