Skip to content

chore(deps): update dependency @types/node to v22 #1596

chore(deps): update dependency @types/node to v22

chore(deps): update dependency @types/node to v22 #1596

name: Test and Release
on: push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
tests:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- name: Install latest npm
run: |
sudo npm install -g npm@
npm config set update-notifier false
sudo chown -R $USER:$(id -gn $USER) /home/runner/.config
- name: Authenticate with NPM registry
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- name: Install dependencies
run: npm ci --no-audit
- name: Compile
run: npx tsc
- name: Test
run: npm test
- name: Semantic release
run: |
npm i --no-save semantic-release
npx semantic-release