Skip to content

Commit

Permalink
ci: update workflow to use new one
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan committed Feb 17, 2024
1 parent 5ee0c77 commit 5f89f8c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 41 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/auto-approve.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build

on:
push:
pull_request:

jobs:
build:
uses: AwesomeHamster/workflows/.github/workflows/build.yml@master
permissions:
pull-requests: write
issues: write
with:
lint: true
test: true
yarn-no-immutable: true
approve: true
secrets: inherit
18 changes: 11 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: AwesomeHamster/actions-publish@master
with:
token: ${{ secrets.NPM_TOKEN }}
test: yarn test
uses: AwesomeHamster/workflows/.github/workflows/publish.yml@master
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
with:
yarn-no-immutable: true
test-before-publish: true
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
20 changes: 0 additions & 20 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 5f89f8c

Please sign in to comment.