Skip to content

Publish to NPM Registry #5

Publish to NPM Registry

Publish to NPM Registry #5

name: Publish Library
run-name: Publish to NPM Registry
on: [push]
# push:
# branches:
# - master
# - develop
jobs:
Info-And-Checkout:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
Lint:
runs-on: ubuntu-latest
steps:
- name: Lint
uses: actions/checkout@v4
- run: |
npm run lint
Test:
runs-on: ubuntu-latest
steps:
- name: Test
uses: actions/checkout@v4
- run: |
npm test