Deolys is pushing the branch in repository #1
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: push branch | |
run-name: ${{ github.actor }} is pushing the branch in repository | |
on: [push] | |
jobs: | |
init: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Starting Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: install modules | |
run: npm install | |
- name: clean build directory | |
run: rm -rf dist | |
- name: build project | |
env: | |
DB_API_KEY: ${{ secrets.DB_API_KEY }} | |
DB_APP_ID: ${{ secrets.DB_APP_ID }} | |
DB_AUTH_DOMAIN: ${{ secrets.DB_AUTH_DOMAIN }} | |
DB_MESSAGING_SENDER_ID: ${{ secrets.DB_MESSAGING_SENDER_ID }} | |
DB_PROJECT_ID: ${{ secrets.DB_PROJECT_ID }} | |
DB_STORAGE_BUCKET: ${{ secrets.DB_STORAGE_BUCKET }} | |
run: npm run build | |
- name: lint code | |
run: npm run lint |