aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml34
1 files changed, 17 insertions, 17 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 4e0fa97..ded6687 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -7,21 +7,21 @@ on:
branches:
- main
jobs:
- Build:
- runs-on: ubuntu-latest
+ Build:
+ runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
-
- - name: Use Node.js 18
- uses: actions/setup-node@v2
- with:
- node-version: 18
- cache: 'pnpm'
-
- - name: Install dependencies
- run: pnpm install
-
- - name: Build aliucord
- run: pnpm lint && pnpm build
+ steps:
+ - uses: actions/checkout@v3
+ - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
+
+ - name: Use Node.js 18
+ uses: actions/setup-node@v2
+ with:
+ node-version: 18
+ cache: "pnpm"
+
+ - name: Install dependencies
+ run: pnpm install --frozen-lockfile
+
+ - name: Build aliucord
+ run: pnpm lint && pnpm build