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:
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user