Skip to content

build(deps): bump @babel/traverse from 7.12.0 to 7.23.2 #73

build(deps): bump @babel/traverse from 7.12.0 to 7.23.2

build(deps): bump @babel/traverse from 7.12.0 to 7.23.2 #73

Workflow file for this run

name: check
on:
push:
branches: [ master ]
paths:
- '**.ts'
- '**.js'
- '**/package.json'
- '**/pnpm-lock.yaml'
- '**/style.yml'
pull_request_target:
branches: [ master ]
paths:
- '**.ts'
- '**.js'
- '**/package.json'
- '**/pnpm-lock.yaml'
- '**/style.yml'
jobs:
style:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [ 12.x ]
os: [ ubuntu-latest ]
pnpm-version: [ 5.7.0 ]
name: code style
defaults:
run:
shell: bash
steps:
- name: checkout code
uses: actions/[email protected]
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT }}
- name: setup node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: cache node modules
uses: actions/[email protected]
with:
path: |
**/node_modules
**/.putoutcache
key: ${{ runner.OS }}-${{ matrix.node-version }}-${{ hashFiles('/pnpm-lock.yaml') }}-${{ matrix.pnpm-version }}
restore-keys: |
${{ runner.OS }}-${{ matrix.node-version }}-${{ hashFiles('/pnpm-lock.yaml') }}-${{ matrix.pnpm-version }}
${{ runner.OS }}-${{ matrix.node-version }}-${{ hashFiles('/pnpm-lock.yaml') }}
${{ runner.OS }}-${{ matrix.node-version }}
- name: setup pnpm
uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: running xo
run: |
pnpm fix:lint
- name: creating pull request
if: ${{ github.head_ref == '' }}
uses: peter-evans/[email protected]
with:
commit-message: 'style(lint): reformat and autolint code'
title: 'style(lint): reformat and autolint code'
body: |
This pull request enforces the code style using [xo](https://github.com/xojs/xo).
labels: |
style
chore
branch: style
token: ${{ secrets.BOT }}
- name: committing changed files
if: ${{ github.head_ref != '' }}
uses: stefanzweifel/[email protected]
with:
commit_message: 'style(lint): reformat and autolint code'
branch: ${{ github.head_ref }}
file_pattern: '**.ts **.js'