update
This commit is contained in:
parent
2140139fc9
commit
c067ad71fe
2 changed files with 9 additions and 5 deletions
|
|
@ -12,15 +12,18 @@ env:
|
|||
jobs:
|
||||
lint:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: node:20-alpine # oder node:20-slim
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run ESLint
|
||||
run: npm run lint
|
||||
|
||||
|
|
@ -98,3 +101,4 @@ jobs:
|
|||
- name: Push image
|
||||
run: |
|
||||
docker push "${{ secrets.REGISTRY_IMAGE }}:${{ env.IMAGE_TAG }}"
|
||||
|
||||
|
|
|
|||
|
|
@ -138,4 +138,4 @@ const ensureLoggedIn = async (page, context) => {
|
|||
|
||||
if (!cfg.debug) context.setDefaultTimeout(cfg.timeout);
|
||||
return user;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue