Skip to content

Commit

Permalink
Add test:exports:docker to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Apr 9, 2023
1 parent ef89125 commit 64074f9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: yarn run build

test:
name: Test
name: Unit Tests
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
Expand All @@ -75,3 +75,20 @@ jobs:
run: yarn run build --filter="!docs"
- name: Test
run: yarn run test:unit

test-exports:
name: Environment Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn run build --filter="!docs"
- name: Test Exports
run: yarn run test:exports:docker
2 changes: 2 additions & 0 deletions scripts/docker-ci-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -euxo pipefail

export CI=true

cp -r ../package/* .

# Replace the workspace dependency with the local copy, and install all others
Expand Down

0 comments on commit 64074f9

Please sign in to comment.