General Improvements (#70)

# General Improvements

> This is a classic @GrantBirki drive-by PR 🚗

This pull request does the following:

- Lightly updates and formats a few existing Actions workflows
- Adds a new `package-check` workflow to validate the contents of the
`dist/` directory have been properly built
- Uses a `.node-version` file so that local development and Actions
remain on the same pinned version of node
- Adds status badges to the readme for visual effect ⭐ 🎨
This commit is contained in:
Grant Birkinbine authored and GitHub committed 2023-11-02 22:23:07 -07:00
1 parent eaddb9eb7e
commit bb368d6a10
7 files changed
+43 -9

No files matched your search

+6 -3
View File
@@ -1,5 +1,6 @@
name: release
"on":
on:
push:
branches:
- main
@@ -18,10 +19,12 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: ./
+5 -2
View File
@@ -1,4 +1,5 @@
name: test
on:
push:
branches:
@@ -15,10 +16,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- run: npm test