diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73ccba7..2d58adb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,4 @@ -name: test - +name: release on: push: branches: @@ -14,6 +13,18 @@ jobs: ref: "main" - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: latest + - run: npm ci + - run: npm run test + release-sementic: + needs: jest-test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: "main" + - uses: actions/setup-node@v4 + with: + node-version: latest - run: npm ci - run: npx semantic-release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2040a53..830ad2f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: ref: "main" - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: latest - run: npm ci - run: npm run test - run: echo "success"