FLEXY-5436 remove scripts package from template #676
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: PR Validator - Build and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- 'lerna.json' | |
- '**/package-lock.json' | |
- '**/package.json' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'lerna.json' | |
- '**/package-lock.json' | |
- '**/package.json' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install project dependencies | |
run: npm ci | |
- name: Run linter | |
run: npm run lint:fix | |
- name: Run Tests | |
run: npm run test:ci | |
env: | |
TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID_linux }} | |
TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN_linux }} | |
NODE_OPTIONS: --no-experimental-fetch | |
CI: "" | |
- name: Build packages | |
run: npm run build | |
- name: Codecov report | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |