fixed refresh not working #175
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: CI | |
on: | |
push: | |
branches: [ master ] | |
tags: [ 'v*' ] | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run lint:ci | |
continue-on-error: true | |
# test: | |
# runs-on: ubuntu-latest | |
# | |
# strategy: | |
# matrix: | |
# node: [ 16, 18 ] | |
# | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: pnpm/[email protected] | |
# | |
# - uses: actions/setup-node@v3 | |
# with: | |
# node-version: ${{ matrix.node }} | |
# cache: 'pnpm' | |
# | |
# - run: pnpm install | |
# - run: pnpm run test:ci | |
build: | |
needs: [ lint ] # , test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run build:ci | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: kindergarten | |
path: dist |