Browse Source

CI: use versioned actions and node-version 18 to match with package.json

pull/686/head
Philip H. 1 year ago
committed by GitHub
parent
commit
9a93f82314
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .github/workflows/codeql.yml
  2. 8
      .github/workflows/deploy-development.yml
  3. 8
      .github/workflows/deploy-stable.yml
  4. 6
      .github/workflows/lint.yml
  5. 6
      .github/workflows/npm-update-bot.yml

8
.github/workflows/codeql.yml

@ -24,17 +24,17 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@main
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@main
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@main
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@main
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

8
.github/workflows/deploy-development.yml

@ -13,15 +13,15 @@ jobs:
packages: write
contents: read
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v4
with:
ref: production
- name: Set up QEMU
uses: docker/setup-qemu-action@master
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@master
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
@ -34,7 +34,7 @@ jobs:
run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
- name: Build & Publish Docker Image
uses: docker/build-push-action@master
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8

8
.github/workflows/deploy-stable.yml

@ -14,15 +14,15 @@ jobs:
packages: write
contents: read
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v4
with:
ref: production
- name: Set up QEMU
uses: docker/setup-qemu-action@master
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@master
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
@ -35,7 +35,7 @@ jobs:
run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
- name: Build & Publish Docker Image
uses: docker/build-push-action@master
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8

6
.github/workflows/lint.yml

@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@main
uses: actions/setup-node@v4
with:
node-version: 'current'
node-version: '18'
check-latest: true
cache: 'npm'
cache-dependency-path: |

6
.github/workflows/npm-update-bot.yml

@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@main
uses: actions/setup-node@v4
with:
node-version: 'current'
node-version: '18'
check-latest: true
cache: 'npm'
cache-dependency-path: |

Loading…
Cancel
Save