Update dependency @types/node to v20.12.12 #3182
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: Node CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
tags: | |
- '*.*.*' | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: [ '22' ] | |
steps: | |
- name: Install NSIS | |
run: | | |
Invoke-Expression "& { $(Invoke-RestMethod https://get.scoop.sh) } -RunAsAdmin" | |
scoop bucket add extras | |
scoop install nsis | |
- name: Print NSIS version | |
run: makensis -VERSION | |
- name: Checkout | |
uses: actions/checkout@v4.1.5 | |
- name: Setup Windows SDK | |
uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.12 | |
- name: Add signtool.exe path to PATH environment variable | |
uses: myci-actions/export-env-var-powershell@1 | |
with: | |
name: PATH | |
value: $env:PATH;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\ | |
- name: Setup NodeJS | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- name: Dependencies Install | |
run: npm ci | |
env: | |
CI: true | |
- name: Build and Test | |
run: npm run build | |
env: | |
CI: true | |
KTUVIT_EMAIL: ${{ secrets.KTUVIT_EMAIL }} | |
KTUVIT_PASSWORD: ${{ secrets.KTUVIT_PASSWORD }} | |
- name: Codecov | |
uses: codecov/codecov-action@v4.3.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: installer/Ktuvit-Downloader_*_Setup.exe | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |