Skip to content

main-build-1-7359244179 #1

main-build-1-7359244179

main-build-1-7359244179 #1

Workflow file for this run

name: "Main Build"
run-name: main-build-${{ github.run_number }}-${{ github.run_id }}
on:
push:
branches:
- master
- main
jobs:
develop-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.10.0'
- name: Install npm packages
run: npm ci
- name: Test
run: npm test
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
- name: Add code coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: npm run coveralls