chore(deps-dev): bump eslint from 9.16.0 to 9.20.1 #134
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: Action | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout GotoCharTimer | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Install Dependencies | |
run: npm install | |
- name: git setup | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "bot" | |
- name: Publish to VSCode Marketplace | |
env: | |
VSCODE_MARKETPLACE_TOKEN: ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} | |
run: | | |
npx vsce publish patch -p $VSCODE_MARKETPLACE_TOKEN | |
git push origin master | |
- name: update loc | |
run: | | |
sh README.sh > README.md | |
if [ -n "$(git status --porcelain README.md)" ]; then | |
git add README.md | |
git commit -m "Update lines of code in README" | |
git push origin master | |
fi |