Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jacovinus committed Jul 3, 2023
1 parent 773de08 commit 2640f10
Show file tree
Hide file tree
Showing 1,158 changed files with 94 additions and 95,719 deletions.
27 changes: 0 additions & 27 deletions .babelrc

This file was deleted.

1 change: 0 additions & 1 deletion .env

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches: ["dev"]
pull_request:
types: [opened, synchronize]

jobs:
build:
name: Build and Test
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2

- uses: pnpm/[email protected]
with:
version: 6.32.2

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Test
run: pnpm test
2 changes: 1 addition & 1 deletion .github/workflows/codeql-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches: [ main, dev ]
schedule:
- cron: '27 18 * * 6'

Expand Down
31 changes: 1 addition & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.nvimrc
.vscode
.vscode/*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# certs (ssl)
cert.pem
key.pem
src/setupProxy.js
src/setupProxy.ts
/node_modules/*
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,18 @@ Clone Repo
```bash
git clone https://github.com/metrico/qryn-view
```

Install packages
```bash
npm install
pnpm install
```
---

**Local Build:**

Build local clone
```bash
npm run build
pnpm run build
```
Install Serve (npm serve)
```bash
Expand Down
Loading

0 comments on commit 2640f10

Please sign in to comment.