Skip to content

Commit

Permalink
ci: update yarn run commands
Browse files Browse the repository at this point in the history
ci: use node v18
ci: use v4 of actions/checkout
  • Loading branch information
PaulRBerg committed Jan 11, 2024
1 parent beb72d6 commit 7997cd5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 7997cd5

Please sign in to comment.