Skip to content

chore(deps): update dependency @bifravst/eslint-config-typescript to … #260

chore(deps): update dependency @bifravst/eslint-config-typescript to …

chore(deps): update dependency @bifravst/eslint-config-typescript to … #260

name: Test and Release
on: push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- name: Authenticate with NPM registry
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- name: Install dependencies
run: npm ci --no-audit
- name: Compile
run: npx tsc
- name: Check source code with eslint
run: npx eslint .
- name: Check if source code is properly formatted
run: npx prettier -c ./
- name: Test
run: npm test
- name: Semantic release
continue-on-error: true
run: npx semantic-release