small fix of stats title style #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Node Build | |
| on: | |
| pull_request: | |
| paths: | |
| - src/** | |
| - .eslintrc.js | |
| - stylelint.config.js | |
| - webpack.js | |
| - vite.config.js | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - src/** | |
| - .eslintrc.js | |
| - stylelint.config.js | |
| - webpack.js | |
| - vite.config.js | |
| env: | |
| APP_NAME: cospend | |
| jobs: | |
| build: | |
| name: node-build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| path: ${{ env.APP_NAME }} | |
| - name: Read package.json node and npm engines version | |
| uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2 | |
| id: versions | |
| with: | |
| path: ${{ env.APP_NAME }} | |
| fallbackNode: "^20" | |
| fallbackNpm: "^10" | |
| - name: Set up node ${{ steps.versions.outputs.nodeVersion }} | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version: ${{ steps.versions.outputs.nodeVersion }} | |
| - name: Set up npm ${{ steps.versions.outputs.npmVersion }} | |
| run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}" | |
| - name: Build ${{ env.APP_NAME }} | |
| run: | | |
| cd ${{ env.APP_NAME }} | |
| npm ci | |
| npm run build |