Skip to content

Use node v18 on ci #390

Use node v18 on ci

Use node v18 on ci #390

Workflow file for this run

on: push
name: CI
jobs:
build:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
- name: Set up Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'pnpm'
- name: Install
run: pnpm install
- name: Deploy to gh-pages
if: github.ref == 'refs/heads/master'
run: pnpm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}