Skip to content

Commit

Permalink
ci: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed May 27, 2024
1 parent 21f2ba7 commit cc1a8a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 93 deletions.
74 changes: 6 additions & 68 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,77 +1,15 @@
name: CI
name: checks

on:
push:
branches:
- main
- master

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

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install pnpm
uses: pnpm/[email protected]

- name: Set node
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: pnpm

- name: Install
run: pnpm install

- name: Lint
run: pnpm lint
uses: julien-r44/.github/.github/workflows/lint.yml@main

typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install pnpm
uses: pnpm/[email protected]

- name: Set node
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: pnpm

- name: Install
run: pnpm install

- name: Typecheck
run: pnpm typecheck
uses: julien-r44/.github/.github/workflows/typecheck.yml@main

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install pnpm
uses: pnpm/[email protected]

- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: pnpm

- name: Install
run: pnpm install

- name: Build
run: pnpm build

- name: Test
run: pnpm test
uses: julien-r44/.github/.github/workflows/test.yml@main
25 changes: 0 additions & 25 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit cc1a8a0

Please sign in to comment.