Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ jobs:
working-directory: api
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
ref: ${{ inputs.ref || github.ref }}
fetch-depth: 0

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v4.4.0
name: Install pnpm
with:
run_install: false

- name: Install Node
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version-file: ".nvmrc"
cache: 'pnpm'
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
id: buildnumber
if: github.repository == 'unraid/api'
continue-on-error: true
uses: onyxmueller/build-tag-number@v1
uses: onyxmueller/build-tag-number@v1.0.5
with:
token: ${{ secrets.UNRAID_BOT_GITHUB_ADMIN_TOKEN || github.token }}
prefix: ${{ inputs.version_override || steps.vars.outputs.PACKAGE_LOCK_VERSION }}
Expand All @@ -99,7 +99,7 @@ jobs:
tar -czf deploy/unraid-api.tgz -C deploy/pack/ .

- name: Upload tgz to Github artifacts
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v6.0.0
with:
name: unraid-api
path: ${{ github.workspace }}/api/deploy/unraid-api.tgz
Expand All @@ -112,17 +112,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
ref: ${{ inputs.ref || github.ref }}

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v4.4.0
name: Install pnpm
with:
run_install: false

- name: Install Node
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version-file: ".nvmrc"
cache: 'pnpm'
Expand All @@ -145,7 +145,7 @@ jobs:
run: pnpm run build:wc

- name: Upload Artifact to Github
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v6.0.0
with:
name: unraid-wc-ui
path: unraid-ui/dist-wc/
Expand All @@ -158,7 +158,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
ref: ${{ inputs.ref || github.ref }}

Expand All @@ -170,13 +170,13 @@ jobs:
echo VITE_UNRAID_NET=${{ secrets.VITE_UNRAID_NET }} >> .env
echo VITE_CALLBACK_KEY=${{ secrets.VITE_CALLBACK_KEY }} >> .env

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v4.4.0
name: Install pnpm
with:
run_install: false

- name: Install Node
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version-file: ".nvmrc"
cache: 'pnpm'
Expand All @@ -201,7 +201,7 @@ jobs:
run: pnpm run build

- name: Upload build to Github artifacts
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v6.0.0
with:
name: unraid-wc-rich
path: web/dist
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
ref: ${{ inputs.ref }}
fetch-depth: 0

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v4.4.0
name: Install pnpm
with:
run_install: false

- name: Install Node
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version-file: ".nvmrc"
cache: 'pnpm'
Expand Down Expand Up @@ -101,19 +101,19 @@ jobs:
pnpm install --frozen-lockfile --filter @unraid/connect-plugin

- name: Download Unraid UI Components
uses: actions/download-artifact@v7
uses: actions/download-artifact@v7.0.0
with:
name: unraid-wc-ui
path: ${{ github.workspace }}/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components/uui
merge-multiple: true
- name: Download Unraid Web Components
uses: actions/download-artifact@v7
uses: actions/download-artifact@v7.0.0
with:
pattern: unraid-wc-rich
path: ${{ github.workspace }}/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components/standalone
merge-multiple: true
- name: Download Unraid API
uses: actions/download-artifact@v7
uses: actions/download-artifact@v7.0.0
with:
name: unraid-api
path: ${{ github.workspace }}/plugin/api/
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
fi

- name: Upload to GHA
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v6.0.0
with:
name: unraid-plugin-${{ github.run_id }}-${{ inputs.TAG || inputs.RELEASE_TAG || 'build' }}
path: plugin/deploy/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@v4.36.2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v4
uses: github/codeql-action/autobuild@v4.36.2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@v4.36.2
12 changes: 6 additions & 6 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
name: Deploy Storybook
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v4.4.0
name: Install pnpm
with:
run_install: false

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version-file: ".nvmrc"
cache: 'pnpm'
Expand All @@ -50,23 +50,23 @@ jobs:
- name: Deploy to Cloudflare Workers (Staging)
id: deploy_staging
if: github.event_name == 'pull_request'
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@v3.15.0
with:
apiToken: ${{ secrets.CLOUDFLARE_DEPLOY_TOKEN }}
command: deploy --env staging
workingDirectory: unraid-ui

- name: Deploy to Cloudflare Workers (Production)
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@v3.15.0
with:
apiToken: ${{ secrets.CLOUDFLARE_DEPLOY_TOKEN }}
command: deploy
workingDirectory: unraid-ui

- name: Comment PR with deployment URL
if: github.event_name == 'pull_request'
uses: actions/github-script@v9
uses: actions/github-script@v9.0.0
with:
script: |
github.rest.issues.createComment({
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
release_notes: ${{ steps.generate_notes.outputs.release_notes }}
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
ref: ${{ inputs.target_commitish || github.ref }}
fetch-depth: 0
token: ${{ secrets.UNRAID_BOT_GITHUB_ADMIN_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version: '20.20.0'

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@v4.4.0
with:
run_install: false

- name: Install Node
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version-file: ".nvmrc"
cache: 'pnpm'
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
fi

- name: Upload all coverage reports to Codecov
uses: codecov/codecov-action@v6
uses: codecov/codecov-action@v6.0.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/coverage-final.json,../web/coverage/coverage-final.json,../unraid-ui/coverage/coverage-final.json,../packages/unraid-api-plugin-connect/coverage/coverage-final.json,../packages/unraid-shared/coverage/coverage-final.json
Expand Down Expand Up @@ -186,12 +186,12 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
fetch-depth: 0

- id: release
uses: googleapis/release-please-action@v4
uses: googleapis/release-please-action@v4.4.1
outputs:
releases_created: ${{ steps.release.outputs.releases_created || 'false' }}
tag_name: ${{ steps.release.outputs.tag_name || '' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
ref: ${{ inputs.target_commitish || github.ref }}
fetch-depth: 0
token: ${{ secrets.UNRAID_BOT_GITHUB_ADMIN_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version: '20.20.0'

Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
release_notes: ${{ needs.generate-release-notes.outputs.release_notes }}
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3
with:
ref: ${{ inputs.target_commitish || github.ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
uses: actions/checkout@v6.0.3

- name: Install Apollo Rover CLI
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
latest: true
prerelease: false
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22.19.0
- run: |
Expand All @@ -37,7 +37,7 @@ jobs:
EOF
- run: npm install html-escaper@2 xml2js
- name: Update Plugin Changelog
uses: actions/github-script@v9
uses: actions/github-script@v9.0.0
with:
script: |
const fs = require('fs');
Expand Down
Loading