Merge pull request #139 from issue-ops/dependabot/npm_and_yarn/npm_an… #514
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
checks: write | |
contents: read | |
jobs: | |
continuous-integration: | |
name: Continuous Integration | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
id: setup-node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- name: Install Dependencies | |
id: install | |
run: npm install | |
- name: Install Playwright | |
id: playwright | |
run: npx playwright install | |
- name: Check Format | |
id: format-check | |
run: npm run format:check | |
- name: Lint | |
id: lint | |
run: npm run lint | |
- name: Build | |
id: build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: npm run build |