diff --git a/.github/workflows/ci.yml b/.github/workflows/e2e.yml similarity index 91% rename from .github/workflows/ci.yml rename to .github/workflows/e2e.yml index f6a74d0..5e0ba77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/e2e.yml @@ -1,4 +1,4 @@ -name: ci +name: e2e on: pull_request: branches: @@ -9,7 +9,7 @@ concurrency: cancel-in-progress: true jobs: - test: + tests: strategy: matrix: os: @@ -34,7 +34,5 @@ jobs: run: npm ci - name: Link module run: npm link grunt-nw-builder - - name: Check for linting error - run: npm run lint - name: Run tests run: npm run test diff --git a/.github/workflows/cd.yml b/.github/workflows/npm.yml similarity index 89% rename from .github/workflows/cd.yml rename to .github/workflows/npm.yml index 2629648..58b824e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/npm.yml @@ -1,4 +1,4 @@ -name: cd +name: npm on: push: branches: @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4.1.7 - uses: actions/setup-node@v4.0.2 with: - node-version: "20.5.1" + node-version: 22 cache: "npm" - run: corepack enable - run: npm ci diff --git a/.github/workflows/rel.yml b/.github/workflows/rel.yml new file mode 100644 index 0000000..4545b23 --- /dev/null +++ b/.github/workflows/rel.yml @@ -0,0 +1,19 @@ +name: rel + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-22.04 + steps: + - name: Release Please + uses: googleapis/release-please-action@v4.1.3 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..e56939c --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "4.7.7" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..2da5e2b --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,14 @@ +{ + "packages": { + ".": { + "last-release-sha": "a2b668d5dec2baaecc02d33ef7e1632fd348a7ae", + "include-component-in-tag": false, + "release-type": "node", + "changelog-sections": [ + { "type": "feat", "section": "Features", "hidden": false }, + { "type": "fix", "section": "Bug Fixes", "hidden": false }, + { "type": "chore", "section": "Chores", "hidden": false } + ] + } + } + }