Skip to content

feat(lib): read .env for web (#136) #589

feat(lib): read .env for web (#136)

feat(lib): read .env for web (#136) #589

Workflow file for this run

name: Jest Tests
on: [push]
jobs:
test:
name: Run contract tests
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
steps:
- uses: actions/checkout@v3
- run: yarn install
- run: yarn test
env:
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
SUBSCRIBE_KEY: ${{ secrets.SUBSCRIBE_KEY }}
USER_ID: ${{ secrets.USER_ID }}
- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
with:
name: test-results
path: lib/junit.xml
- name: Publish test results
if: always()
uses: dorny/test-reporter@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: "Test results"
path: "lib/junit.xml"
reporter: "jest-junit"