Skip to content

Merge pull request #1119 from leifg/dependabot/npm_and_yarn/eslint-pl… #410

Merge pull request #1119 from leifg/dependabot/npm_and_yarn/eslint-pl…

Merge pull request #1119 from leifg/dependabot/npm_and_yarn/eslint-pl… #410

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 }}