Add publish action #15
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: savant-github-actions | |
on: [push] | |
jobs: | |
check-packages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- run: npm install | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Base checkout | |
uses: actions/checkout@v4 | |
- name: Base node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: npm install | |
- name: Linting | |
run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Base checkout | |
uses: actions/checkout@v4 | |
- name: Base node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: npm install | |
- name: Testing | |
run: npm run test |