Skip to content

Commit

Permalink
chore: add a continuous-delivery workflow (#8)
Browse files Browse the repository at this point in the history
* eslint

* prettier

* scripts and ignore

* lint-staged

* ci/cd

* relative path

* fix action path

* gha fixes

* node setup & install

* refactor

* shouldworktm

* test

* envfix

* type: installation

* allowempty

* debug

* chmod husky

* not on pr

* testing

* beep boop I'm a bot [ci skip]

* use install token

* beep boop I'm a bot [ci skip]

* vanilla remote

* beep boop I'm a bot [ci skip]

* DUHHH

* log

* beep boop I'm a bot [ci skip]

* log

* beep boop I'm a bot [ci skip]

* log

* trickeries

* trickeries

* slap asyncretry on top

* trim

* beep boop I'm almost a bot [ci skip]

* trickaroos

* derp

* close

* beep boop I'm a bot [ci skip]

* dont touch origin

* beep boop I'm a bot [ci skip]

* clean git creds

* beep boop I'm a bot [ci skip]

* fresher octokit

* beep boop I'm a bot [ci skip]

* confused

* beep boop I'm a bot [ci skip]

* proper sha

* beep boop I'm a bot [ci skip]

* beep boop I'm almost a bot [ci skip]

* order

* beep boop I'm almost a bot [ci skip]

* tree 2

* mmhhh

* ref-switcharoos

* push-trickaroos

* beep boop I'm almost a bot [ci skip]

* one less push

* beep boop I'm almost a bot [ci skip]

* cleaning, lesss API calls

* deploy origin

* beep boop I'm almost a bot [ci skip]

* cleaning

* clean, todo-refactors

* refactor pretty much everything

* additional refactor

* prettier

* Delete some-file.txt

* more cleaning

* Update action.yml

* Update action.yml

* Apply suggestions from code review

Co-authored-by: Germain Bergeron <[email protected]>

* use util

Co-authored-by: Germain Bergeron <[email protected]>

* include comments

Co-authored-by: developer-experience-bot[bot] <91079284+developer-experience-bot[bot]@users.noreply.github.com>
Co-authored-by: Germain Bergeron <[email protected]>
Co-authored-by: Germain Bergeron <[email protected]>
  • Loading branch information
4 people authored Mar 30, 2022
1 parent f7d91c5 commit 4aa543b
Show file tree
Hide file tree
Showing 21 changed files with 8,401 additions and 756 deletions.
7 changes: 7 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "Build"
description: "Build the project"
runs:
using: composite
steps:
- run: npm run build
shell: bash
7 changes: 7 additions & 0 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "Publish"
description: "Publish a new version of the project"
runs:
using: composite
steps:
- run: node ./scripts/release.mjs
shell: bash
9 changes: 9 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@ jobs:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- uses: ./.github/actions/lint
- uses: ./.github/actions/build
- uses: ./.github/actions/publish
env:
RELEASER_APP_ID: ${{ secrets.RELEASER_APP_ID }}
RELEASER_PRIVATE_KEY: ${{ secrets.RELEASER_PRIVATE_KEY }}
RELEASER_CLIENT_ID: ${{ secrets.RELEASER_CLIENT_ID }}
RELEASER_CLIENT_SECRET: ${{ secrets.RELEASER_CLIENT_SECRET }}
RELEASER_INSTALLATION_ID: ${{ secrets.RELEASER_INSTALLATION_ID }}
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
Loading

0 comments on commit 4aa543b

Please sign in to comment.