diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 74046cd..d224baf 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -9,9 +9,25 @@ permissions: pull-requests: read jobs: main: - name: Validate PR Title + name: Verify PR Title runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build: + name: Verify Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: 20 + - name: Install dependencies + env: + npm_config_ignore_scripts: true + run: npm ci + - name: Build + run: npm run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9d916b..742b3a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,8 +20,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 - - name: Install + - name: Install dependencies + env: + npm_config_ignore_scripts: true run: npm ci + - name: Build + run: npm run build - name: Install semantic-release run: npm i semantic-release @semantic-release/commit-analyzer @semantic-release/github @semantic-release/npm @semantic-release/release-notes-generator - name: Publish