Bump @typescript-eslint/eslint-plugin from 7.1.1 to 7.7.1 #269
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: Pull request | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, reopened] | |
jobs: | |
check_version: | |
name: "Check package.json version" | |
uses: whereby/github-actions/.github/workflows/check_if_version_is_incremented.yml@1.0.0 | |
with: | |
source_dir: src | |
test: | |
name: Format, Lint, and Test | |
runs-on: ${{ vars.PLATFORM }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.WHEREBY_PUBLISH_GITHUB_PACKAGES }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare repository | |
run: git fetch --unshallow --tags | |
- name: Setup npmrc | |
run: echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Format | |
run: yarn format:check | |
- name: Lint | |
run: yarn lint | |
- name: Unit Test | |
run: yarn test:unit | |
canary_release: | |
name: Create canary release | |
needs: [check_version, test] | |
runs-on: ${{ vars.PLATFORM }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.WHEREBY_PUBLISH_GITHUB_PACKAGES }} | |
NPM_TOKEN: ${{ secrets.WHEREBY_PUBLISH_GITHUB_PACKAGES }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare repository | |
run: git fetch --unshallow --tags | |
- name: Setup npmrc | |
run: echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Create Release | |
run: yarn run auto shipit |