Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track the build/ folder in .git #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/workflows/npm-publish.yml

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/solana-tokenlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Extract branch name
shell: bash
run: echo "GITHUB_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
Expand All @@ -42,16 +43,17 @@ jobs:
SOLANA_MAINNET_RPC_URL: ${{ secrets.SOLANA_MAINNET_RPC_URL }}
TRUSTED_TOKEN_LIST_URL: https://cdn.jsdelivr.net/gh/brave/token-lists@${{ steps.extract_branch.outputs.GITHUB_BRANCH }}/data/solana/trusted-tokenlist.json

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Solana UTL
file_pattern: 'data/solana/tokenlist.json'

- name: 'Bump patch version'
run: npm version patch

- run: yarn start

# Commit after yarn start
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Solana UTL
file_pattern: 'data/ build/'

- run: git push

- run: npm run publish-token-package
Expand Down