Skip to content

fix(deps): update all non-major dependencies (patch) #325

fix(deps): update all non-major dependencies (patch)

fix(deps): update all non-major dependencies (patch) #325

Workflow file for this run

name: Publish CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
write-all
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set node
uses: actions/setup-node@v4
with:
node-version: latest
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Lint
run: nr lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set node
uses: actions/setup-node@v4
with:
node-version: latest
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Typecheck
run: nr typecheck
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Build
run: |
nr build
node dist/generator.js gen -m -e
mv activator.sgmodule dist/activator.sgmodule
mv README.md dist/README.md
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist