Update typescript-eslint monorepo to v8.18.2 #1665
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: Run Tests | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
env: | |
MONGODB_VERSION: 3.6.9 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: yarn install --frozen-lockfile | |
- run: yarn run lint | |
- run: yarn run test | |
env: | |
CI: true | |
# publish-next: | |
# if: github.ref == 'refs/heads/master' | |
# needs: [ test ] | |
# runs-on: ubuntu-latest | |
# permissions: | |
# contents: read | |
# packages: write | |
# steps: | |
# - uses: actions/checkout@v2 | |
# Setup .npmrc file to publish to GitHub Packages | |
# - uses: actions/setup-node@v2 | |
# with: | |
# node-version: '14.x' | |
# registry-url: 'https://npm.pkg.github.com' | |
# Defaults to the user or organization that owns the workflow file | |
# scope: '@newera-systems' | |
# - name: Setup GIT | |
# run: | | |
# git config user.email "[email protected]" | |
# git config user.name "$GITHUB_ACTOR" | |
# | |
# - run: yarn install | |
# - run: yarn version --patch | |
# - run: yarn publish --tag next | |
# env: | |
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# - run: git push |