Skip to content

Commit

Permalink
simpler ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuunen committed Jun 18, 2024
1 parent c5f5994 commit 0958153
Showing 1 changed file with 13 additions and 30 deletions.
43 changes: 13 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,24 @@
name: ci

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
on: push

jobs:
ci:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [14]
runs-on: ubuntu-latest

steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@master
- name: Checkout
uses: actions/checkout@v4

- name: Setup node env πŸ—
uses: actions/setup-node@v2.1.5
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm install
node-version: 20

- name: Run build πŸ‘€
run: npm run build

- name: Run linter πŸ‘€
run: npm run lint
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- name: Run tests πŸ‘€
run: npm run test
- name: Run check πŸ‘€
run: pnpm run check

0 comments on commit 0958153

Please sign in to comment.