Skip to content

Bump systeminformation in the npm_and_yarn group across 1 directory #2029

Bump systeminformation in the npm_and_yarn group across 1 directory

Bump systeminformation in the npm_and_yarn group across 1 directory #2029

Workflow file for this run

name: Build
on: [ push, pull_request ]
env:
DISCORD_BOT_TOKEN: MOCK_DISCORD_BOT_TOKEN
DISCORD_CLIENT_ID: MOCK_DISCORD_CLIENT_ID
UA_STRING: MOCK_UA_STRING
DISCORD_INVITE_URL: MOCK_DISCORD_INVITE_URL
API_URL: MOCK_API_URL
API_TOKEN: MOCK_API_TOKEN
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-test:
name: 'Building, Linting and Unit Tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '22'
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v3
with:
path: ./node_modules
key: node_modules-${{ hashFiles('./package-lock.json') }}
- name: Upgrade NPM
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm install -g npm
- name: Install npm dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts
- run: npm run lint
- run: npm run test
- run: npm run build