perf: 👷 remove useless jobs in ci

This commit is contained in:
Michel Roux 2024-11-08 23:09:15 +01:00
parent d455385382
commit 03baaa9875

View File

@ -30,15 +30,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: skjnldsv/read-package-engines-version-actions@v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
- uses: actions/setup-node@v4
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- run: npm i -g npm@${{ steps.versions.outputs.npmVersion }}
node-version: "^20"
- run: npm ci
- run: npm run lint
- run: npm run stylelint
@ -54,15 +48,9 @@ jobs:
- uses: actions/checkout@v4
- run: curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
- run: chmod +x /usr/local/bin/composer
- uses: skjnldsv/read-package-engines-version-actions@v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
- uses: actions/setup-node@v4
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- run: npm i -g npm@${{ steps.versions.outputs.npmVersion }}
node-version: "^20"
- run: make dist
- uses: akkuman/gitea-release-action@v1
with: