Update dependency flat-cache to v6.1.6 #3714
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/[email protected] | |
- name: Setup Windows SDK | |
uses: GuillaumeFalourd/[email protected] | |
- 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/[email protected] | |
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/[email protected] | |
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 }} |