Skip to content

Commit

Permalink
chore: fix the publish package action
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 committed Sep 4, 2024
1 parent 5e0db61 commit 696de7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 390 deletions.
28 changes: 4 additions & 24 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ on:
required: true
default: false
type: boolean
skip-e2e:
description: "Flag to skip E2E tests"
required: true
default: false
type: boolean

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand Down Expand Up @@ -49,11 +44,8 @@ jobs:
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Set Node.js 22.x
uses: actions/setup-node@v3
with:
node-version: 22
cache: "yarn"
- name: Setup Node
uses: ./.github/actions/setup-node

- name: Set Github User Details
run: |
Expand All @@ -65,9 +57,6 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build
env:
API_KEY: ${{ secrets.API_KEY }}
Expand All @@ -76,17 +65,8 @@ jobs:
timeout_minutes: 5
max_attempts: 2
retry_on: error
command: yarn build:ci

- name: E2E tests
if: inputs.skip-e2e == false
env:
API_KEY: ${{ secrets.API_KEY }}
OWNER_MNEMONIC: ${{ secrets.OWNER_MNEMONIC }}
PAYMASTER_POLICY_ID: ${{ secrets.PAYMASTER_POLICY_ID }}
UNDEPLOYED_OWNER_MNEMONIC: ${{ secrets.UNDEPLOYED_OWNER_MNEMONIC }}
LIGHT_ACCOUNT_OWNER_MNEMONIC: ${{ secrets.LIGHT_ACCOUNT_OWNER_MNEMONIC }}
run: yarn test:e2e
# building CI actually builds the site as well, we just want the packages
command: yarn build:dev

# Lerna publish will, compute the new version, update files, run precommit hooks, tag, publish, and push change log
- name: Publish using Lerna
Expand Down
4 changes: 0 additions & 4 deletions account-kit/infra/e2e-tests/constants.ts

This file was deleted.

Loading

0 comments on commit 696de7f

Please sign in to comment.