Skip to content

Commit

Permalink
add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
zemberdotnet committed Apr 15, 2024
1 parent f53b966 commit 86993bf
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 51 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/build.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/canary-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Canary Release
on:
issue_comment:
types:
- created
jobs:
canary-release:
uses: jupiterone/github-internal/.github/workflows/npm-canary-release.yaml@v1
secrets: inherit
9 changes: 9 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Backend PR

on:
pull_request:

jobs:
pr:
uses: jupiterone/github-internal/.github/workflows/npm-pr.yaml@v1
secrets: inherit
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: NPM Release
on:
push:
branches:
- main
jobs:
release:
uses: jupiterone/github-internal/.github/workflows/npm-release.yaml@v1
secrets: inherit
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
],
"scripts": {
"build": "unbuild",
"validate:ci":"npm run test",
"test": "npm run test:types && mocha \"tests/**/*.tests.ts\"",
"test:types": "tsc --noEmit --skipLibCheck",
"lint:markdown": "prettier --write '*.md' '!(node_modules|dist)/**/*.md' && markdownlint '*.md' '!(node_modules|dist)/**/*.md' --config=.github/linters/.markdown-lint.yml --fix",
Expand Down

0 comments on commit 86993bf

Please sign in to comment.