Skip to content

Commit

Permalink
ci: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Jun 17, 2024
1 parent cbe6dca commit ad4b28c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 22 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on: [push, pull_request]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm

- name: Install ni
run: npm i -g @antfu/ni

- name: Install dependencies
id: dependencies
run: nci

- name: Lint
if: steps.dependencies.outcome == 'success'
run: nr lint
22 changes: 0 additions & 22 deletions .github/workflows/lint.yaml

This file was deleted.

0 comments on commit ad4b28c

Please # to comment.