Skip to content

Commit

Permalink
just enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
piyalbasu committed Jun 27, 2023
1 parent c9ae966 commit 0561cba
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 51 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/buildTranslations.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: Build translations
# name: Build translations

on:
pull_request:
paths:
- "extension/**/*"
# on:
# pull_request:
# paths:
# - "extension/**/*"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: "16.14.0"
- name: Run translation job
run: |
yarn && yarn build:freighter-api && yarn build:extension:translations
- name: Verify diff
id: verify_diff
run: |
git diff --quiet || echo "::set-output name=new_translations_exist::true"
- name: Commit files
if: steps.verify_diff.outputs.new_translations_exist == 'true'
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Add translations" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}
- name: test
run: yarn test:ci
# jobs:
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# persist-credentials: false
# fetch-depth: 0
# - uses: actions/setup-node@v1
# with:
# node-version: "16.14.0"
# - name: Run translation job
# run: |
# yarn && yarn build:freighter-api && yarn build:extension:translations
# - name: Verify diff
# id: verify_diff
# run: |
# git diff --quiet || echo "::set-output name=new_translations_exist::true"
# - name: Commit files
# if: steps.verify_diff.outputs.new_translations_exist == 'true'
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Action"
# git commit -m "Add translations" -a
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: ${{ github.head_ref }}
# - name: test
# run: yarn test:ci
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# name: test
# on: [pull_request]
# jobs:
# test:
# name: test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: 16.14.0
# - run: yarn install
# - run: yarn build
# - run: yarn test:ci
name: test
on: [pull_request]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.14.0
- run: yarn install
- run: yarn build
- run: yarn test:ci
2 changes: 1 addition & 1 deletion extension/src/popup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "popup/helpers/localizationConfig";
// Import global CSS from Stellar Design System
import "@stellar/design-system/build/styles.min.css";

console.log("tesst");
console.log("test");

// eslint-disable-next-line react/jsx-filename-extension
ReactDOM.render(<App />, document.getElementById("root"));

0 comments on commit 0561cba

Please sign in to comment.