Skip to content

Commit

Permalink
fix(ci): update workflows
Browse files Browse the repository at this point in the history
- build.yml already covered by node.yml

Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed May 5, 2023
1 parent 2d9d95c commit 9b99b0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ jobs:
name: node${{ matrix.node-versions }}
steps:
- uses: actions/checkout@v2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ matrix.node-versions }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-versions }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies
run: npm ci
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
--health-timeout=5s
--health-retries=3
postgres-service:
image: postgres
image: postgres:14
env:
POSTGRES_USER: nextcloud
POSTGRES_DB: nextcloud
Expand Down

0 comments on commit 9b99b0c

Please sign in to comment.