Merge pull request #186 from AstraProtocol/fix/change-tx-detail-label #43
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: Semantic Release ChangeLog | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
integration-tests: | |
strategy: | |
fail-fast: true | |
matrix: | |
node: [18] | |
name: Semantic release changelog | |
runs-on: [self-hosted, linux] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@astraprotocol' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: | | |
npm install -g yarn | |
echo yarn-cache-dir="$(yarn cache dir)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v2 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.yarn-cache-dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Setup npm token | |
run: npm config set '//npm.pkg.github.com/:_authToken' "${{secrets.GITHUB_TOKEN}}" | |
- name: npm install | |
run: yarn install --frozen-lockfile | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Test build | |
run: yarn build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CYPRESS: true | |
NEXT_PUBLIC_COSMOS_API: https://chainindexing.astranaut.io | |
NEXT_PUBLIC_EVM_API: https://blockscout.astranaut.io | |
NEXT_PUBLIC_URL: https://explorer.astranaut.io | |
NEXT_PUBLIC_CHAIN_ID: 11110 | |
NEXT_PUBLIC_TITLE: Astra Explorer | |
NEXT_PUBLIC_ENV: mainnet | |
NEXT_PUBLIC_WASA_ADDRESS: '0x6637D8275DC58983Cb3A2fa64b705EC11f6EC670' | |
- name: Semantic release | |
run: HUSKY=0 yarn semantic | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |