chore(deps): update typescript-eslint monorepo to v6 #3473
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: main | |
on: [push] | |
jobs: | |
run: | |
name: run | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup-node | |
uses: actions/setup-node@master | |
with: | |
node-version: 12.x | |
- name: install | |
run: yarn | |
- name: format check | |
run: yarn format --check | |
- name: lint | |
run: yarn lint | |
- name: build | |
run: yarn build -p tsconfig.prod.json | |
- name: test | |
run: yarn test | |
- name: commitlint | |
uses: wagoid/[email protected] | |
- name: setting git values | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "cdaringe" | |
- name: release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
if [[ "$GITHUB_REF" = "refs/heads/master" ]]; then | |
GITHUB_TOKEN=$GH_TOKEN npx semantic-release --verbose | |
yarn build:demo | |
else | |
echo "skipping release on branch $GITHUB_REF" | |
fi | |
- name: gh-pages | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
if: github.ref == 'refs/heads/master' | |
with: | |
ACCESS_TOKEN: ${{ secrets.GH_TOKEN }} | |
BASE_BRANCH: master | |
BRANCH: gh-pages | |
CLEAN: true | |
FOLDER: dist |