From d50c509a84f5c5b75c9516f9632ce0f695bbcf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Re=C3=A9?= Date: Sun, 5 Jan 2025 11:19:45 +0100 Subject: [PATCH] Update CI action --- .auto-changelog | 8 ++++++ .../workflows/github-action-acceptance.yaml | 28 +++++++++++++++++++ .github/workflows/packaging.yaml | 23 --------------- 3 files changed, 36 insertions(+), 23 deletions(-) create mode 100644 .auto-changelog create mode 100644 .github/workflows/github-action-acceptance.yaml delete mode 100644 .github/workflows/packaging.yaml diff --git a/.auto-changelog b/.auto-changelog new file mode 100644 index 0000000..a6d756d --- /dev/null +++ b/.auto-changelog @@ -0,0 +1,8 @@ +{ + "output": "HISTORY.md", + "template": "keepachangelog", + "unreleased": true, + "commitLimit": false, + "startingDate": "2025-01-01", + "ignoreCommitPattern": "^(Release)(.*)$" +} diff --git a/.github/workflows/github-action-acceptance.yaml b/.github/workflows/github-action-acceptance.yaml new file mode 100644 index 0000000..629dfc7 --- /dev/null +++ b/.github/workflows/github-action-acceptance.yaml @@ -0,0 +1,28 @@ +name: Node.js CI + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [22.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: yarn + - run: yarn rescript:build + # - run: yarn test diff --git a/.github/workflows/packaging.yaml b/.github/workflows/packaging.yaml deleted file mode 100644 index be4c490..0000000 --- a/.github/workflows/packaging.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: Test build - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.ref }} - - uses: actions/setup-node@v3 - with: - registry-url: https://registry.npmjs.org/ - - uses: bahmutov/npm-install@v1 - - run: yarn build