Bump eslint from 8.48.0 to 8.49.0 #1396
Workflow file for this run
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: Bundler | |
# trigger on every commit push and PR for all branches | |
on: | |
push: | |
branches: ['**'] | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
branches: ['**'] | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
bundler-support: | |
name: Bundler support | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 OpenSearch cluster | |
run: | | |
make cluster.clean cluster.opensearch.build cluster.opensearch.start | |
- name: Use Node.js 14.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
# NPM started understanding yarn.lock file starting from v7 | |
- name: Update NPM | |
shell: bash | |
run: | | |
export NPM_VERSION=$(npm -v) | |
export IS_NPM_SUITABLE=$(node -p "parseInt(process.env.NPM_ROOT, 10) >= 7") | |
if [ "$IS_NPM_SUITABLE" == "false" ]; then | |
echo "NPM needs upgrading!" | |
npm i npm@7 -g | |
fi | |
- name: Install | |
run: | | |
npm install | |
npm install --prefix test/bundlers/parcel-test | |
npm install --prefix test/bundlers/rollup-test | |
npm install --prefix test/bundlers/webpack-test | |
- name: Build | |
run: | | |
npm run build --prefix test/bundlers/parcel-test | |
npm run build --prefix test/bundlers/rollup-test | |
npm run build --prefix test/bundlers/webpack-test | |
- name: Run bundle | |
run: | | |
npm start --prefix test/bundlers/parcel-test | |
npm start --prefix test/bundlers/rollup-test | |
npm start --prefix test/bundlers/webpack-test |