Update dependencies for April 2024 #104
Workflow file for this run
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: 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 }} |