chore(release): 1.0.0-beta5 #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: node-es-transformer CI | |
on: | |
push: | |
branches: | |
- main # Adjust this to match your branch name | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch | |
- name: Configure sysctl limits | |
run: | | |
sudo swapoff -a | |
sudo sysctl -w vm.swappiness=1 | |
sudo sysctl -w fs.file-max=262144 | |
sudo sysctl -w vm.max_map_count=262144 | |
- name: Runs Elasticsearch | |
uses: elastic/elastic-github-actions/elasticsearch@master | |
with: | |
stack-version: 8.17.0 | |
security-enabled: false | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js and run tests | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: yarn | |
- run: yarn build --if-present | |
- run: yarn test |