Skip to content

feat: approval screens for the new Etna tx types #309

feat: approval screens for the new Etna tx types

feat: approval screens for the new Etna tx types #309

Workflow file for this run

name: PR checks
on: pull_request
jobs:
lint:
name: Lint and build
runs-on: ubuntu-latest
environment: alpha
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 20.x
- name: Create .npmrc
run: echo '//registry.npmjs.org/:_authToken= ${{ secrets.NPM_TOKEN }}' >> .npmrc
- name: Create env file
run: |
touch .env.production
echo POSTHOG_KEY=${{ secrets.POSTHOG_KEY }} >> .env.production
echo GLACIER_URL=${{ secrets.GLACIER_URL }} >> .env.production
echo PROXY_URL=${{ secrets.PROXY_URL }} >> .env.production
echo CORE_EXTENSION_LANDING_URL=${{ secrets.CORE_EXTENSION_LANDING_URL }} >> .env.production
- name: Install dependencies
run: yarn setup
- name: Lint
run: yarn lint
- name: Typecheck
run: yarn typecheck
- name: Check if localization was updated
run: |
yarn scanner
git --no-pager diff
if [[ $(git status --short) == '' ]]; then exit 0; else exit 1; fi
- name: Test
run: yarn test
- name: Build extension
run: yarn build