[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-time. ⏰ SSR-safe time element for Nuxt 3
date
nuxt
nuxt-module
server
ssr
1name: autofix.ci # needed to securely identify the workflow
2
3on:
4 pull_request:
5 push:
6 branches:
7 - main
8
9permissions:
10 contents: read
11
12jobs:
13 autofix:
14 runs-on: ubuntu-latest
15 steps:
16 - uses: actions/checkout@v4
17 - run: corepack enable
18 - uses: actions/setup-node@v4
19 with:
20 node-version: 20
21 cache: "pnpm"
22
23 - name: 📦 Install dependencies
24 run: pnpm install
25
26 - name: 🚧 Set up project
27 run: pnpm dev:prepare
28
29 - name: 🔠 Fix lint errors
30 run: pnpm run lint --fix
31
32 - name: 🧪 Update snapshots
33 run: pnpm test -u
34
35 - uses: autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
36