chore: bump npm dependencies + GitHub action workflows (#587)
* chore: bump npm dependencies
---------
Co-authored-by: Andreas Deininger <adeininger@urbanonline.de>
Co-authored-by: Alexander Bilz <mail@alexbilz.com>
| | |
| | | // Rebuild the container if it already exists to update. |
| | | "VERSION": "latest", |
| | | // Update NODE_VERSION to pick the Node.js version: 12, 14 |
| | | "NODE_VERSION": "22" |
| | | "NODE_VERSION": "24" |
| | | } |
| | | }, |
| | | |
| | |
| | | runs-on: ubuntu-latest |
| | | steps: |
| | | - name: checkout code |
| | | uses: actions/checkout@v4 |
| | | uses: actions/checkout@v6 |
| | | - name: setup node |
| | | uses: actions/setup-node@v4 |
| | | uses: actions/setup-node@v6 |
| | | with: |
| | | node-version: 22 |
| | | node-version: 24 |
| | | - name: install |
| | | run: | |
| | | npm ci |
| | |
| | | - name: format |
| | | run: npm run prettier |
| | | - name: commit changes |
| | | uses: stefanzweifel/git-auto-commit-action@v5 |
| | | uses: stefanzweifel/git-auto-commit-action@v7 |
| | | with: |
| | | commit_message: 'style: prettier format all files' |
| | |
| | | runs-on: ubuntu-latest |
| | | steps: |
| | | - name: checkout |
| | | uses: actions/checkout@v4 |
| | | uses: actions/checkout@v6 |
| | | - name: install dart sass |
| | | run: sudo snap install dart-sass --edge |
| | | - name: setup hugo |
| | | uses: peaceiris/actions-hugo@v3 |
| | | with: |
| | | extended: true |
| | | hugo-version: 0.147.8 |
| | | hugo-version: 0.157.0 |
| | | - name: setup node |
| | | uses: actions/setup-node@v4 |
| | | uses: actions/setup-node@v6 |
| | | with: |
| | | node-version: 22 |
| | | node-version: 24 |
| | | - name: install |
| | | run: | |
| | | npm ci |
| | |
| | | - name: build |
| | | run: npm run build |
| | | - name: commit resources |
| | | uses: stefanzweifel/git-auto-commit-action@v6 |
| | | uses: stefanzweifel/git-auto-commit-action@v7 |
| | | with: |
| | | commit_message: 'chore: build resources' |
| | | file_pattern: resources/** exampleSite/resources/** |
| | |
| | | }, |
| | | "homepage": "https://github.com/lxndrblz/anatole#readme", |
| | | "devDependencies": { |
| | | "@commitlint/cli": "^19.8.1", |
| | | "@commitlint/config-conventional": "^19.8.1", |
| | | "@commitlint/cli": "^20.4.2", |
| | | "@commitlint/config-conventional": "^20.4.2", |
| | | "@netlify/plugin-lighthouse": "^6.0.4", |
| | | "@release-it/conventional-changelog": "^8.0.2", |
| | | "@release-it/conventional-changelog": "^10.0.5", |
| | | "husky": "^9.1.7", |
| | | "prettier": "^3.8.1", |
| | | "prettier-plugin-go-template": "^0.0.15", |
| | | "release-it": "^17.11.0", |
| | | "shx": "^0.3.4" |
| | | "release-it": "^19.2.4", |
| | | "shx": "^0.4.0" |
| | | } |
| | | } |