Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikezaby committed Feb 19, 2024
2 parents 30392eb + 2ab57ed commit 15e152e
Show file tree
Hide file tree
Showing 5 changed files with 4,321 additions and 3,468 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Continuous Integration

# This action works with pull requests and pushes
on:
pull_request:
push:
branches:
- main

jobs:
typescriptCheck:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Use pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true

- name: Typescript check
run: pnpm ts:check
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Use pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true

- name: Lint code
run: pnpm lint
format:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Use pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true

- name: Prettify code
run: pnpm format:check
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"homepage": "https://blibliki-js.github.io/grid",
"dependencies": {
"@blibliki/engine": "^0.1.8",
"@blibliki/engine": "^0.1.18",
"@reduxjs/toolkit": "^1.8.2",
"dexie": "^3.2.3",
"dexie-react-hooks": "^1.1.3",
Expand Down
Loading

0 comments on commit 15e152e

Please sign in to comment.