Skip to content

feat: upgrade esbuld version, drop node 14 in pipelines, use nodejs18… #348

feat: upgrade esbuld version, drop node 14 in pipelines, use nodejs18…

feat: upgrade esbuld version, drop node 14 in pipelines, use nodejs18… #348

Workflow file for this run

name: pull
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- uses: pnpm/action-setup@v2
with:
version: 7
- run: npm ci
- run: npm test
- run: npm run test:e2e
- name: Upload e2e test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-test-artifact
path: |
.test-artifacts/**/.serverless/*.json
.test-artifacts/**/.serverless/*.zip
retention-days: 7
- run: npm run build --if-present