fix(bundle): remove rebuild because it causes slow performance on big… #324
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull | |
on: | |
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 |