diff --git a/.github/workflows/generate-token-lists.yml b/.github/workflows/generate-token-lists.yml index 4bb850a7..cf62be93 100644 --- a/.github/workflows/generate-token-lists.yml +++ b/.github/workflows/generate-token-lists.yml @@ -42,36 +42,37 @@ jobs: path: '**/node_modules' key: ${{ steps.cache.outputs.primary-key }} - generate-orbit-chains-data: - name: 'Generate Orbit Chains' - runs-on: ubuntu-latest - needs: install - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/restore-cache - - uses: ./.github/actions/generate-orbit-chains-data + # generate-orbit-chains-data: + # name: 'Generate Orbit Chains' + # runs-on: ubuntu-latest + # needs: install + # steps: + # - uses: actions/checkout@v4 + # - uses: ./.github/actions/restore-cache + # - uses: ./.github/actions/generate-orbit-chains-data generate-matrix: runs-on: ubuntu-latest - needs: [install, generate-orbit-chains-data] + needs: [install] outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - uses: actions/checkout@v4 - # - name: Set up Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: '20' + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' - # - name: Install dependencies - # run: npm install ts-node typescript + - name: Install dependencies + run: npm install ts-node typescript - uses: ./.github/actions/restore-cache - - uses: ./.github/actions/restore-orbit-chains-data - id: set-matrix - run: echo "matrix=$(yarn ts-node .github/scripts/generateMatrix.ts)" >> $GITHUB_OUTPUT + run: | + yarn generate:orbitChainsData + echo "matrix=$(npx ts-node .github/scripts/generateMatrix.ts)" >> $GITHUB_OUTPUT generate-token-lists: name: 'Generate' @@ -100,7 +101,6 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/restore-cache - - uses: ./.github/actions/restore-orbit-chains-data - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1-node16