Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .codeclimate.yml

This file was deleted.

106 changes: 0 additions & 106 deletions .github/workflows/branch-validations.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR preview
name: Deploy preview

on:
pull_request:
Expand All @@ -7,7 +7,7 @@ on:
- opened

jobs:
preview:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/deploy-published-releases.yaml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/deploy-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy release

on:
release:
types:
- published

jobs:
deploy:
uses: croct-tech/shared-public-configs/.github/workflows/publish-public-npm-package.yml@master
with:
build-dir: "dist"
prepare-script: >-
cp package.json LICENSE README.md dist/ &&
cd dist &&
sed -i -e "s~\"version\": \"0.0.0-dev\"~\"version\": \"${GITHUB_REF##*/}\"~" package.json &&
sed -i -e "s~\"main\": \"dist/index.js\"~\"main\": \"index.js\"~" package.json &&
sed -i -e "s~\"types\": \"dist/index.d.ts\"~\"types\": \"index.d.ts\"~" package.json
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Drafter
name: Draft release

on:
push:
Expand All @@ -8,7 +8,7 @@ on:
- '**'

jobs:
release-draft:
draft:
runs-on: ubuntu-latest
steps:
- name: Update release draft
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/validate-branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Validate branch

on:
push:
tags-ignore:
- '**'
branches:
- master
pull_request:
types:
- synchronize
- opened

jobs:
validate:
uses: croct-tech/shared-public-configs/.github/workflows/javascript-validations.yml@master
with:
use-private-registry: false
lint-command: npm run build && npm run lint
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading