Skip to content

ci: use Node.js current release for e2e tests and benchmarks #11838

ci: use Node.js current release for e2e tests and benchmarks

ci: use Node.js current release for e2e tests and benchmarks #11838

on:
schedule:
- cron: '0 */4 * * *'
push:
branches:
- master
pull_request:
paths:
- .github/actions/prepare/action.yml
- .github/workflows/e2e-prettier-workflow.yml
- scripts/e2e-setup-ci.sh
name: 'E2E Prettier'
jobs:
chore:
name: 'Validating Prettier'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/prepare
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
yarn init -p
yarn add prettier
echo 'semi: true' > .prettierrc
echo '42;' | tee ok.js
yarn prettier --check ok.js
echo '42' | tee ko.js
! yarn prettier --check ko.js