Files
io.freetubeapp.freetube/.github/workflows/linter.yml
T
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
01bcb804b3 Bump actions/setup-node from 6.4.0 to 7.0.0 (#9431)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e...820762786026740c76f36085b0efc47a31fe5020)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-17 19:28:50 +02:00

64 lines
1.6 KiB
YAML

name: Linter
on:
pull_request:
branches: [ master, development, '**-RC' ]
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
with:
persist-credentials: false
- name: Use Node.js 24.x
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #v7.0.0
with:
node-version: 24.x
package-manager-cache: false
- name: Install pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 #v6.0.9
with:
version: 10
cache: false
- name: Get pnpm cache directory
id: cache_dir
shell: bash
run: |
{
echo 'cache_dir<<EOF'
pnpm store path
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Restore pnpm cache
id: restore_cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
key: ${{ format('node-cache-{0}-{1}-pnpm-{2}', runner.os, runner.arch, hashFiles('pnpm-lock.yaml')) }}
path: ${{ steps.cache_dir.outputs.cache_dir }}
- run: pnpm run ci
shell: bash
- run: pnpm run lint
shell: bash
# let's verify that webpack is able to package the project
- run: pnpm run pack
shell: bash
# verify that webpack is able to package the project using the web config
- run: pnpm run pack:web
shell: bash