Skip to content

Commit

Permalink
chore(ci): start ci pipeline and add some deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Haney Hamdy authored and HaneyHamdy committed Mar 12, 2024
1 parent edd44ea commit bf97ccb
Show file tree
Hide file tree
Showing 5 changed files with 18,602 additions and 13,440 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Node.js CI

on: push

jobs:
build:
env:
NODE_OPTIONS: --max-old-space-size=4096

runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: yarn install
- run: yarn lint
- run: yarn build
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ node_modules/

# Build output
dist
dist-types
dist-types

# Yarn
.yarn
.yarnrc.yml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
"build": "tsc && backstage-cli package build",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test",
"clean": "backstage-cli package clean",
Expand Down
1 change: 1 addition & 0 deletions src/api/QuantumMetric.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
import { Config } from "@backstage/config";
import {
AnalyticsApi,
Expand Down
Loading

0 comments on commit bf97ccb

Please sign in to comment.