Publish to NPM Registry #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |