Skip to content

refactor: switch from commonjs to module #120

refactor: switch from commonjs to module

refactor: switch from commonjs to module #120

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
branches: [ master ]
jobs:
build:
if: ${{!contains(github.event.head_commit.message, 'skip ci')}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- name: Install dependencies
run: npm ci
- name: Run Semantic Release
run: npm run semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}