Skip to content

Commit

Permalink
Merge branch 'main' into xmr/clean-lint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Mar 2, 2024
2 parents 0c8396f + d70f261 commit 7765d79
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 165 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: npm
Expand All @@ -39,10 +39,10 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: npm
Expand All @@ -54,7 +54,7 @@ jobs:
run: npm run build

- name: Upload build files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.repository == 'jakearchibald/svgomg' && github.ref == 'refs/heads/live'
with:
name: build
Expand All @@ -69,10 +69,10 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download build files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build
path: ./build
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
branches:
- main
- live
- "!dependabot/**"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
Expand All @@ -25,12 +26,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: "javascript"
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:javascript"
Loading

0 comments on commit 7765d79

Please sign in to comment.