Skip to content

Commit

Permalink
feat: test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
allnnde committed Jun 2, 2024
1 parent ae67468 commit 4bae297
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,36 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install packages
run: npm ci

- name: Rebuild
run: npm run release

- uses: actions/[email protected]
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/[email protected]
with:
github-token: ${{ secrets.github_token }}
version-file: "package.json"
skip-on-empty: false

- name: Create Release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag: ${{ steps.changelog.outputs.tag }}
name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
11 changes: 11 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install packages
run: npm ci

- name: Rebuild
run: npm run release

- uses: chrnorm/deployment-action@v2
name: Create GitHub deployment
id: deployment
Expand Down

0 comments on commit 4bae297

Please sign in to comment.