Skip to content

Commit

Permalink
ci: simplify actions flow
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Jun 23, 2024
1 parent 73a0b73 commit 11993cb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 128 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/publish.yml

This file was deleted.

34 changes: 30 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,39 @@ jobs:
changelog-file: CHANGELOG.md
prepend: true

- name: Update changelog & bump package.json
- name: Commit changelog & package.json updates
if: steps.semrel.outputs.version != ''
run: |
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add CHANGELOG.md package.json
git commit -m "chore(release): ${{ steps.semrel.outputs.version }}"
git push --delete https://${{ secrets.SEMANTIC_RELEASE_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git v${{ steps.semrel.outputs.version }}
git tag v${{ steps.semrel.outputs.version }}
git push --tags https://${{ secrets.SEMANTIC_RELEASE_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main
git push https://${{ secrets.SEMANTIC_RELEASE_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main
- name: Install pnpm
if: steps.semrel.outputs.version != ''
uses: pnpm/action-setup@v4
with:
version: 9.4.0

- name: Setup Node
if: steps.semrel.outputs.version != ''
uses: actions/setup-node@v4
with:
cache: "pnpm"

- name: Install dependencies
if: steps.semrel.outputs.version != ''
run: pnpm install

- name: Build
if: steps.semrel.outputs.version != ''
run: pnpm build

- name: Deploy to Cloudflare Pages
if: steps.semrel.outputs.version != ''
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build --project-name=guitos
85 changes: 0 additions & 85 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,88 +1,3 @@
## 1.0.0 (2024-06-23)

#### Bug Fixes

* env vars in script (f0958b0c)
* release script path (5c9ff4d7)
* force release (0d466c52)
* force release (f836a6fd)
* release cli args (d8f183f8)

#### Reverts

* jsdom bump (86fbb755)

#### Documentation

* add missing twitter card tags (b1d91c1c)

#### Tests

* enable multiple playwright test workers (22018ed9)
* fix lint issues (0dbd0125)
* disable flaky tests (5c15568a)
* remove render from beforeEach, wrap with waitFor (4b26122a)
* remove render from beforeEach (3fcef045)
* fix selectors (d7449364)
* fix label selector (3810c4ac)
* add description (7dc9d0dc)
* add config for vscode extension (bc0a296e)

#### Styles

* apply biome suggestions (f51e31fc)
* fix eslint warnings (011a023e)
* lint package.json (17e8dd1c)

#### Build

* swap vite plugin react with swc version (66b45aef)
* **deps:** bump pnpm/action-setup from 3 to 4 (#119) (75bc8d56)
* bump libs (787c168a)
* bump libs (3a275d12)
* update lock files (7f0fe684)
* add eslint and prettier plugins (9e947e51)

#### CI

* use git directly (4010a927)
* use action instead of hook (2aba358d)
* remove quotes and slash from hooks-exec (1699f2c6)
* fix script for hook exec (26245026)
* use script for hook exec (d4964dec)
* use single quotes (dd2cff15)
* escape args (c3d133b9)
* set Semantic Release step name (3e69458f)
* enable changelog creation (d037e296)
* fix checkout step config (eddd36b7)
* set pnpm config for vscode (940f8662)
* replace semantic-release, uplift, git-cliff with go-semantic-release (1823bfc9)
* set npm options (127dc33f)
* disable uplift changelog (71df96cb)
* add uplift config (56a88371)
* add versio config (16097596)
* pull since last tag (5d6623f6)
* add missing env var (8d657d80)
* set correct params for cliff-jumper (2c35f8e8)
* update pnpm-lock (813779c2)
* replace semantic-release with git-cliff and cliff-jumper (600a476b)
* use pnpm with semantic-release (5d0cfb22)
* set pnpm version (4fa2eb05)
* set packagemanager field (0c2a0213)
* replace eslint and prettier with biome (16ccd2bb)
* add lint to actions (cab5601e)
* fix eslint config (51a8ce2e)
* use playwright container (19b0f1a6)
* pnpm dedup (5eaac9cf)
* add eslint-plugin-yml (e326fba4)
* add console-fail-test (93189b82)
* bump pnpm version (5ce6ef30)
* add eslint-plugin-regexp (c70ca43b)
* update prettier and eslint configs (86138836)
* add more vscode settings (242e0bf5)
* force clear mocks (c5c7472a)


## [0.35.1](https://github.com/rare-magma/guitos/compare/v0.35.0...v0.35.1) (2024-04-06)


Expand Down

0 comments on commit 11993cb

Please sign in to comment.