Skip to content

update github actions #137

update github actions

update github actions #137

Workflow file for this run

name: build
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v3
with:

Check failure on line 28 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
version: 8
- run: pnpm
- run: node ./scripts/getStoriesList.js
- run: pnpm eslint .
- run: pnpm flow
- run: pnpm jest
- run: pnpm build
- run: pnpm website:build
- name: Install Surge
run: npm install -g surge
- name: Deploy to Surge
run: surge ./website https://bzc-ui.surge.sh/ --token ${{secrets.SURGE}}