Skip to content

Bump @babel/traverse from 7.18.9 to 7.23.2 #410

Bump @babel/traverse from 7.18.9 to 7.23.2

Bump @babel/traverse from 7.18.9 to 7.23.2 #410

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: '20.5.0'
cache: 'yarn'
- run: yarn install
- run: yarn gen
- run: yarn build
- run: yarn test
env:
KITTYCAD_TOKEN: ${{ secrets.KITTYCAD_TOKEN }}
BASE_URL: "https://api.dev.kittycad.io/"
- name: check for changes
id: git-check
run: |
git add .
# git status
# git diff
# if git diff --exit-code; then
# echo "::set-output name=modified::true"
# else
# echo "::set-output name=modified::false"
# fi
if git status | grep -q "Changes to be committed"
then
echo "::set-output name=modified::true"
else
echo "::set-output name=modified::false"
fi
- name: Commit changes, if any
if: steps.git-check.outputs.modified == 'true'
run: |
git add .
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git fetch origin
# git checkout ${{github.ref_name }}
echo ${{ github.head_ref }}
git checkout ${{ github.head_ref }}
git commit -am "Generated new lib" || true
# git rebase origin/${{github.ref_name }} || true
git push
git push origin ${{ github.head_ref }}
# git push origin ${{github.ref_name }}
# git config --local user.email "github-actions[bot]@users.noreply.github.com"
# git config --local user.name "github-actions[bot]"
# git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
# git fetch origin
# git commit -am "Generated new lib"
# git push