Skip to content

Commit

Permalink
feat: more monkey patch, don't run the whole heavy bits
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Mar 28, 2024
1 parent 11162e8 commit 3937c63
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
# Allows manual triggering if we ever want to
workflow_dispatch:
pull_request:
schedule:
- cron: '0 9 * * 1,4' # Twice a week - 9AM UTC on Monday and Thursday
# schedule:
# - cron: '0 9 * * 1,4' # Twice a week - 9AM UTC on Monday and Thursday

jobs:
regenerate-and-create-pr:
Expand All @@ -16,43 +16,45 @@ jobs:
with:
ref: feat_attempt_run_ci_regenerate_action

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Yarn Install
run: yarn install --immutable

- name: Setup env
run: yarn env dev

- name: Build Packages
run: yarn build:packages

- name: Generate CAIP adapters
run: yarn generate:caip-adapters

# - name: Setup Node.js environment
# uses: actions/setup-node@v3
# with:
# node-version-file: '.nvmrc'
# cache: 'yarn'
#
# - name: Yarn Install
# run: yarn install --immutable
#
# - name: Setup env
# run: yarn env dev
#
# - name: Build Packages
# run: yarn build:packages
#
# - name: Generate CAIP adapters
# run: yarn generate:caip-adapters
#
# - name: Generate asset data
# env:
# ZERION_API_KEY: ${{ secrets.ZERION_API_KEY }}
# run: yarn run generate:asset-data

- name: Generate THOR assets
run: yarn run generate:thor-asset-map

- name: Generate THOR long-tail assets
run: yarn run generate:thor-longtail-tokens

- name: Generate color map
run: yarn run generate:color-map

- name: Create new feature branch
run: git checkout -B feat_regenerate_asset_data
# - name: Generate THOR assets
# run: yarn run generate:thor-asset-map
#
# - name: Generate THOR long-tail assets
# run: yarn run generate:thor-longtail-tokens
#
# - name: Generate color map
# run: yarn run generate:color-map
#
# - name: Create new feature branch
# run: git checkout -B feat_regenerate_asset_data

- name: Commit changes
run: |
# Can't touch this or can we?
touch this
git checkout -B feat_regenerate_asset_data
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
Expand Down

0 comments on commit 3937c63

Please sign in to comment.