Skip to content

Convert from classes to closures #73

Convert from classes to closures

Convert from classes to closures #73

Workflow file for this run

name: Release
on:
push:
branches: ['**']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run test
# release:
# needs: build
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/main'
# environment:
# name: production
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 18
# cache: 'npm'
# - run: npm ci
# - run: npm run build
# - uses: cycjimmy/semantic-release-action@v3
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# with:
# extra_plugins: |
# @semantic-release/changelog
# @semantic-release/git