chore(main): release substrate 1.0.5 (#574) #169
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: Docs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" # cache node modules | |
node-version: 18 | |
- run: corepack enable | |
- run: yarn install --immutable | |
- run: yarn run build # compile typescript into javascript | |
- run: yarn run lint # lint code | |
- name: Build docs | |
run: npm run docs | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.4.1 | |
with: | |
branch: gh-pages | |
folder: docs |