chore(deps-dev): bump typescript-eslint from 8.13.0 to 8.14.0 #234
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v*.*.* | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
DEFAULT_NODE_VERSION: 20 | |
jobs: | |
job_lint_and_test: | |
name: Lint, Test and Build | |
uses: ./.github/workflows/lint-test-build.yml | |
job_upload_coverage: | |
name: Upload Coverage to Codecov | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' && github.ref_type == 'branch' | |
needs: job_lint_and_test | |
steps: | |
- name: Checkout, Setup Node.js v${{ env.DEFAULT_NODE_VERSION }} and Install dependencies | |
uses: manferlo81/action-checkout-node-install@v0 | |
with: | |
node-version: ${{ env.DEFAULT_NODE_VERSION }} | |
- name: Run tests | |
run: npm test | |
env: | |
CI: true | |
- name: Upload coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
directory: coverage | |
token: ${{ secrets.CODECOV_TOKEN }} | |
job_create_release: | |
name: Create GitHub Release | |
runs-on: ubuntu-latest | |
if: github.ref_type == 'tag' | |
needs: job_lint_and_test | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout, Setup Node.js v${{ env.DEFAULT_NODE_VERSION }} and Install dependencies | |
uses: manferlo81/action-checkout-node-install@v0 | |
with: | |
node-version: ${{ env.DEFAULT_NODE_VERSION }} | |
- name: Build | |
run: npm run build | |
- name: Create tarball | |
run: npm pack | |
- name: Create Release | |
uses: manferlo81/action-auto-release@v0 | |
with: | |
files: selective-option-*.tgz | |
job_publish_to_npm: | |
name: Publish Package to npm Registry | |
runs-on: ubuntu-latest | |
if: github.ref_type == 'tag' | |
needs: job_lint_and_test | |
steps: | |
- name: Checkout, Setup Node.js v${{ env.DEFAULT_NODE_VERSION }} and Install dependencies | |
uses: manferlo81/action-checkout-node-install@v0 | |
with: | |
node-version: ${{ env.DEFAULT_NODE_VERSION }} | |
registry-url: https://registry.npmjs.org/ | |
- name: Build | |
run: npm run build | |
- name: Publish package | |
run: npm publish --provenance --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |