Merge pull request #1119 from leifg/dependabot/npm_and_yarn/eslint-pl… #410
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: Build and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build Parser | |
run: yarn build | |
- name: Lint | |
run: yarn lint | |
- name: Run Unit Tests | |
run: yarn test --forbid-only | |
- name: Run Integration Tests | |
run: yarn test:integration --forbid-only | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |