Skip to content

Add eslint-plugin-jest-dom and testing-library (#37) #103

Add eslint-plugin-jest-dom and testing-library (#37)

Add eslint-plugin-jest-dom and testing-library (#37) #103

Workflow file for this run

name: Continuous integration
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Install πŸ”§'
uses: ./.github/actions/setup
- name: 'Run checks βœ…'
run: pnpm run all
publish:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: [check]
runs-on: ubuntu-latest
permissions:
# write permission required to push tags
contents: write
steps:
- uses: actions/checkout@v3
- name: 'Install πŸ”§'
uses: ./.github/actions/setup
- name: 'Build πŸ—οΈ'
run: pnpm run build
- name: 'Publish ESLint config πŸš€'
uses: ./.github/actions/publish
with:
package: ./packages/eslint-config
token: ${{ secrets.NPM_TOKEN }}
- name: 'Publish Prettier config πŸš€'
uses: ./.github/actions/publish
with:
package: ./packages/prettier-config
token: ${{ secrets.NPM_TOKEN }}
- name: 'Publish TypeScript config πŸš€'
uses: ./.github/actions/publish
with:
package: ./packages/typescript-config
token: ${{ secrets.NPM_TOKEN }}