mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
ci: add lint job (#3079)
* ci: add lint job * rebuild * Revert "rebuild" This reverts commit d330184140b64661027b634511bc5a8eb874a5ce. * mad debugging * wtf * add eslintignore * remove git status --------- Co-authored-by: alxndrsn <alxndrsn>
This commit is contained in:
parent
16322c2d50
commit
e8259e04fc
1
.eslintignore
Normal file
1
.eslintignore
Normal file
@ -0,0 +1 @@
|
||||
/packages/*/dist/
|
||||
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -6,7 +6,21 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
cache: yarn
|
||||
- run: yarn install
|
||||
- run: yarn lint
|
||||
build:
|
||||
needs: lint
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
postgres:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user