Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions/setup-node-4
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJeterLP authored Mar 27, 2024
2 parents 91b60f4 + 1eda296 commit 3ff98af
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,26 @@
name: Node.js CI

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Upgrade NPM
run: npm install -g npm
- name: Install TSC
run: npm install -g typescript
- name: copy-config
run: cp config.example.json config.json
run: cp src/main/json/config.example.json src/main/json/config.json
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: latest
cache: 'npm'
- run: npm ci
- run: tsc --build
- run: npm run css-build

0 comments on commit 3ff98af

Please sign in to comment.