test commit #36
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 Integrations' | |
on: | |
push: | |
branches: ['main'] | |
jobs: | |
lint: | |
name: 'Run ESLint and Prettier' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: 'Checkout the repository' | |
uses: 'actions/checkout@v3' | |
- name: 'Setup Node.js and yarn' | |
uses: './.github/actions/setup' | |
- name: 'Execute the lint script' | |
run: 'yarn run lint' | |
test: | |
name: 'Run unit tests with Jest' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: 'Checkout the repository' | |
uses: 'actions/checkout@v3' | |
- name: 'Setup Node.js and yarn' | |
uses: './.github/actions/setup' | |
- name: 'Execute the test script' | |
run: 'yarn run test' | |
bundle: | |
name: 'Bundle package with Rollup.js' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: 'Checkout the repository' | |
uses: 'actions/checkout@v3' | |
- name: 'Setup Node.js and yarn' | |
uses: './.github/actions/setup' | |
- name: 'Execute the build script' | |
run: 'yarn run build' | |
env: | |
BASE_URL: ${{ secrets.BASE_URL }} | |
USER_NAME: ${{ secrets.USER_NAME }} | |
USER_PASSWORD: ${{ secrets.USER_PASSWORD }} | |
DATABASE_NAME: ${{ secrets.DATABASE_NAME }} |