Skip to content

Commit

Permalink
Added bundling to tsup script
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Mar 8, 2024
1 parent c216fce commit 3d765a1
Show file tree
Hide file tree
Showing 12 changed files with 106 additions and 6,576 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,27 @@ jobs:
cache: 'npm'

- name: Install dependencies
working-directory: ./e2e/esmCompatibility
run: npm ci

- name: Build
run: npm run build

- name: Pack Emmett locally
shell: bash
run: echo "PACKAGE_FILENAME=$(npm pack --json --pack-destination './e2e/esmCompatibility' -w @event-driven-io/emmett | jq -r '.[] | .filename')" >> $GITHUB_ENV

- name: Test
run: echo ${{ env.PACKAGE_FILENAME }}
- name: Install tar file
working-directory: ./e2e/esmCompatibility
run: npm install ${{ env.PACKAGE_FILENAME }}

- name: Install
working-directory: ./e2e/esmCompatibility
run: npm install

- name: Build 1
working-directory: ./e2e/esmCompatibility
run: npm run generate

- name: Build
working-directory: ./e2e/esmCompatibility
run: npm run generate 2> tmp.txt && cat tmp.txt | grep -vqz ERROR & exit 1
run: npm run generate 2> tmp.txt && cat tmp.txt | grep -vqz [ERROR] & exit 1
62 changes: 0 additions & 62 deletions .idea/workspace.xml

This file was deleted.

Loading

0 comments on commit 3d765a1

Please sign in to comment.