chore(deps): lock file maintenance (#359) #537
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
| # GENERATED FILE - Do not edit manually | |
| name: test | |
| 'on': | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: {} | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: 'npm' | |
| - name: Enable Yarn | |
| run: | | |
| corepack enable && | |
| corepack install # use the in-repo yarn version | |
| - name: Setup Node.js with yarn in cache | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: 'yarn' | |
| - name: Set Timezone | |
| uses: MathRobin/timezone-action@v1.1 | |
| with: | |
| timezoneLinux: Europe/Paris | |
| - name: System info | |
| run: | | |
| echo "node" | |
| node -v | |
| echo "npm" | |
| npm -v | |
| echo "yarn" | |
| yarn -v | |
| echo "yarn enableImmutableInstalls" | |
| yarn config get enableImmutableInstalls | |
| - name: Install modules | |
| run: yarn install | |
| - name: Run lint task | |
| run: yarn lint | |
| - name: Run tests | |
| run: yarn test | |
| - name: Publish | |
| run: yarn npm publish |