Skip to content

fix(deps): replace dependency babel-eslint with @babel/eslint-parser ^7.11.0 #3283

fix(deps): replace dependency babel-eslint with @babel/eslint-parser ^7.11.0

fix(deps): replace dependency babel-eslint with @babel/eslint-parser ^7.11.0 #3283

Workflow file for this run

name: ci
on:
- push
- pull_request
jobs:
build:
strategy:
# Don't fast-fail on tag and master
fail-fast: ${{ github.event_name == 'pull_request' || (github.ref !=
'refs/heads/master' && !startsWith(github.ref, 'refs/tags/')) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
- name: Installing
run: yarn --frozen-lockfile --link-duplicates --perfer-offline
- name: Lint
run: yarn lint
- name: Test
run: yarn test --ci
release:
needs:
- build
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
- name: Installing
run: yarn --frozen-lockfile --link-duplicates --perfer-offline
- name: Npm Authenticate
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm whoami
env:
NPM_TOKEN: ${{ secrets.SOCIALGROOVYBOT_NPM_TOKEN }}
- name: Semantic Release
if: |
github.event_name == 'push' &&
github.repository == 'SocialGouv/linters'
uses: cycjimmy/semantic-release-action@v2
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/git
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}