Bump @types/node from 20.11.20 to 22.8.2 #5151
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: node-modules | |
with: | |
path: '**/node_modules' | |
key: octodash-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
octodash-build-${{ env.cache-name }}- | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14' | |
- name: Install latest npm | |
run: sudo npm install -g npm@latest | |
- name: Installing Dependencies | |
run: npm ci | |
- name: Linting Application | |
run: npm run lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: node-modules | |
with: | |
path: '**/node_modules' | |
key: octodash-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
octodash-build-${{ env.cache-name }}- | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14' | |
- name: Install latest npm | |
run: sudo npm install -g npm@latest | |
- name: Installing Dependencies | |
run: npm ci | |
- name: Building Application | |
run: npm run build:prod | |
- name: Packaging Application | |
run: npm run electron:pack |