diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 186c776..e477008 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,25 +10,25 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Check out the repo" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Install Node.js" uses: "actions/setup-node@v3" with: cache: "yarn" - node-version: "16" + node-version: "18" - name: "Install dependencies" run: "yarn install --immutable" - name: "Lint the code" - run: "yarn lint" + run: "yarn run lint" - name: "Generate the subgraph manifest" - run: "yarn prepare:mainnet" + run: "yarn run prepare:mainnet" - name: "Generate the AssemblyScript types" - run: "yarn codegen" + run: "yarn run codegen" - name: "Build the subgraph" - run: "yarn build" + run: "yarn run build" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 84a05e7..6c2c24e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,19 +18,19 @@ jobs: uses: "actions/setup-node@v3" with: cache: "yarn" - node-version: "16" + node-version: "18" - name: "Install dependencies" run: "yarn install --immutable" - name: "Lint the code" - run: "yarn lint" + run: "yarn run lint" - name: "Generate the subgraph manifest" - run: "yarn prepare:mainnet" + run: "yarn run prepare:mainnet" - name: "Generate the AssemblyScript types" - run: "yarn codegen" + run: "yarn run codegen" - name: "Deploy to ${{ inputs.network }}" - run: yarn deploy:${{ inputs.network }} --access-token ${{ secrets.THE_GRAPH_TOKEN }} + run: yarn run deploy:${{ inputs.network }} --access-token ${{ secrets.THE_GRAPH_TOKEN }}