Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .buildkite/release-pipeline.yml

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Release

on:
workflow_dispatch:
inputs:
branch:
description: Branch to release from
required: true
type: string
default: main

permissions:
contents: read

jobs:
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}

- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: yarn

- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn format:check
- run: yarn build
- run: yarn test

release:
name: Release
needs: build-and-test
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
fetch-depth: 0
persist-credentials: false

- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: yarn

- run: yarn install --frozen-lockfile
- run: yarn build

- name: Release
run: npx semantic-release --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ console.log(text);
```

## Licence
Licensed under [Elastic License 2.0](./LICENCE.txt).
Licensed under [Elastic License 2.0](./LICENSE.txt).
31 changes: 0 additions & 31 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,6 @@ spec:
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-esql-js-release
description: Release pipeline for esql-js
links:
- title: Pipeline
url: https://buildkite.com/elastic/esql-js-release

spec:
type: buildkite-pipeline
owner: group:kibana-esql
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: esql-js-release
description: Release pipeline for esql-js
spec:
repository: elastic/esql-js
pipeline_file: '.buildkite/release-pipeline.yml'
branch_configuration: '*'
provider_settings:
trigger_mode: none
teams:
kibana-esql:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-esql-js-grammar-sync
description: Syncs ES|QL grammar files from Elasticsearch
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig, globalIgnores } from 'eslint/config';
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintConfigPrettier from 'eslint-config-prettier';
import { requireLicenseHeader } from './lint-licence-rule.mjs';
import { requireLicenseHeader } from './lint-license-rule.mjs';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah this typo 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know u.u


export default defineConfig([
globalIgnores(['lib/', 'node_modules/', 'src/parser/antlr/', '*.js', '*.mjs']),
Expand Down
File renamed without changes.