diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d22bbbc..fb47d17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,10 +8,6 @@ permissions: pull-requests: write jobs: - build: - uses: ./.github/workflows/reusable-build.yml - secrets: inherit - release: needs: [build] name: Release diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml deleted file mode 100644 index 4f897b6..0000000 --- a/.github/workflows/reusable-build.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Build -on: - workflow_call: - -jobs: - build: - name: Build - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4.1.1 - - - name: Setup Node - uses: actions/setup-node@v4.0.1 - with: - node-version: 18 - cache: yarn - - - name: Install Dependencies - run: yarn install - - - name: Build - run: yarn build - - - name: Test - run: yarn test diff --git a/.github/workflows/non-release-build.yml b/.github/workflows/test.yml similarity index 81% rename from .github/workflows/non-release-build.yml rename to .github/workflows/test.yml index 0b51cbd..f16abb6 100644 --- a/.github/workflows/non-release-build.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,10 @@ -name: Build - Non-Release +name: Test on: push: branches-ignore: - main + workflow_dispatch: jobs: unit-tests: