Skip to content

fix: preserve mtime when zipping #335

fix: preserve mtime when zipping

fix: preserve mtime when zipping #335

Workflow file for this run

name: pull
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18]
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