Skip to content

chore(deps): update dependency @types/node to v18.19.2 #413

chore(deps): update dependency @types/node to v18.19.2

chore(deps): update dependency @types/node to v18.19.2 #413

Workflow file for this run

name: ci
on:
push:
branches:
- main
env:
NODE_VERSION: '16.14.0'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE_VERSION }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm ci
- name: Prettier
run: npm run prettier:check
- name: Test
run: npm run test:ci
- name: Build
run: npm run build
- name: Prepare release
uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: '@smarlhens/npm-check-engines'
changelog-path: CHANGELOG.md
command: |
${{ startsWith(github.event.head_commit.message, 'chore(main): release') && 'github-release' || 'release-pr' }}
token: ${{ secrets.PAT }}
changelog-types: '[{"type":"build","section":"Miscellaneous","hidden":false},{"type":"chore","section":"Chores","hidden":false},{"type":"ci","section":"Miscellaneous","hidden":false},{"type":"docs","section":"Documentation","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"refactor","section":"Miscellaneous","hidden":false},{"type":"style","section":"Miscellaneous","hidden":false},{"type":"test","section":"Miscellaneous","hidden":false}]'