build: upgrade all packages to the latest non-breaking versions #75
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: "Continuous Deployment" | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
cd: | |
runs-on: "ubuntu-18.04" | |
steps: | |
- name: "Check out the repo" | |
uses: "actions/checkout@v2" | |
- name: "Install Node.js" | |
uses: "actions/setup-node@v2" | |
with: | |
cache: "yarn" | |
node-version: "16" | |
- name: "Install dependencies" | |
run: "yarn install --immutable" | |
- name: "Lint AssemblyScript code" | |
run: "yarn run lint" | |
- name: "Generate subgraph manifest" | |
run: "yarn run prepare:matic" | |
- name: "Generate AssemblyScript types" | |
run: "yarn run codegen" | |
- name: "Deploy to Matic" | |
run: "yarn run deploy:matic --access-token ${{ secrets.THE_GRAPH_TOKEN }}" |