Skip to content

Reverted the closing-tab fix from v2.3.0 since it can the tab not to … #41

Reverted the closing-tab fix from v2.3.0 since it can the tab not to …

Reverted the closing-tab fix from v2.3.0 since it can the tab not to … #41

Workflow file for this run

name: Build commit
on:
- push
- workflow_dispatch
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- name: Cache
uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Lint
run: |
npm run lint:types
npm run lint:code
npm run lint:web-ext
- name: Build
run: npm run build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: CNL-decryptor-${{github.sha}}
path: public/*
if-no-files-found: error