Skip to content

feat: new race flar in method (#171) #260

feat: new race flar in method (#171)

feat: new race flar in method (#171) #260

Workflow file for this run

name: Main workflow
on:
push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install deps
run: npm i
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Push to NPM
if: ${{github.ref == 'refs/heads/main'}}
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Coveralls
if: ${{github.ref == 'refs/heads/main'}}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}