fix not failing #90
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: Verify | |
on: [push, workflow_call] | |
jobs: | |
verify: | |
name: Verify Code | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- uses: pnpm/[email protected] | |
name: Install PNPM | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Formatting | |
run: pnpm format:check | |
- name: Type Check | |
run: pnpm compile | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: Check CLI | |
run: node dist/cli.cjs --help | |
e2e-test: | |
name: E2E Publish Test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- uses: pnpm/[email protected] | |
name: Install PNPM | |
with: | |
version: 8 | |
- name: Install Node 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Publish | |
run: | | |
./scripts/dev.sh all | |
echo $? | |
env: | |
CHROME_EXTENSION_ID: ${{ secrets.TEST_CHROME_EXTENSION_ID }} | |
CHROME_CLIENT_ID: ${{ secrets.TEST_CHROME_CLIENT_ID }} | |
CHROME_CLIENT_SECRET: ${{ secrets.TEST_CHROME_CLIENT_SECRET }} | |
CHROME_REFRESH_TOKEN: ${{ secrets.TEST_CHROME_REFRESH_TOKEN }} | |
CHROME_SKIP_SUBMIT_REVIEW: 'true' | |
CHROME_PUBLISH_TARGET: trustedTesters | |
FIREFOX_EXTENSION_ID: ${{ secrets.TEST_FIREFOX_EXTENSION_ID }} | |
FIREFOX_JWT_ISSUER: ${{ secrets.TEST_FIREFOX_JWT_ISSUER }} | |
FIREFOX_JWT_SECRET: ${{ secrets.TEST_FIREFOX_JWT_SECRET }} | |
FIREFOX_CHANNEL: unlisted | |
EDGE_PRODUCT_ID: ${{ secrets.TEST_EDGE_PRODUCT_ID }} | |
EDGE_CLIENT_ID: ${{ secrets.TEST_EDGE_CLIENT_ID }} | |
EDGE_CLIENT_SECRET: ${{ secrets.TEST_EDGE_CLIENT_SECRET }} | |
EDGE_ACCESS_TOKEN_URL: ${{ secrets.TEST_EDGE_ACCESS_TOKEN_URL }} | |
EDGE_SKIP_SUBMIT_REVIEW: 'true' |