chore(deps): replace dependency markdownlint-cli with remark-cli #8512
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: Node.js CI | |
'on': | |
push: | |
branches: | |
- master | |
- beta | |
- renovate/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
env: | |
FORCE_COLOR: 1 | |
NPM_CONFIG_COLOR: always | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup node | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- run: npm clean-install | |
- run: npm test | |
- name: Upload coverage data to Codecov | |
run: npm run coverage:report | |
release: | |
needs: | |
- verify | |
uses: >- | |
form8ion/.github/.github/workflows/release-package-semantic-release-19.yml@master | |
secrets: | |
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
storybook: | |
if: github.ref == 'refs/heads/master' | |
needs: verify | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup node | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- run: npm clean-install | |
- run: npm run build | |
- name: Configure git user for relase to GitHub Pages | |
run: | | |
git config --global user.name "${{ secrets.GIT_NAME }}" | |
git config --global user.email "${{ secrets.GIT_EMAIL }}" | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: dist/storybook/ |