Skip to content

Commit

Permalink
Meta updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Sep 14, 2023
1 parent bad1c3a commit 1baff85
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .nvmrc
- name: install
run: npm ci || npm install
- name: XO
Expand All @@ -25,7 +25,10 @@ jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
- name: install
run: npm ci || npm install
- name: build
Expand All @@ -36,7 +39,10 @@ jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
- name: install
run: npm ci || npm install
- name: build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/esm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
Pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: npm install
- run: npm run build --if-present
- run: npm pack --dry-run
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- uses: actions/download-artifact@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .nvmrc
- run: echo "${{ env.IMPORT_TEXT }} '${{ env.NPM_MODULE_NAME }}'" > index.mjs
- run: npm install ./artifact
- run: node index.mjs
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
"type": "module",
"main": "index.js",
"types": "./index.d.ts",
"files": [
"index.js",
"index.d.ts",
Expand Down Expand Up @@ -68,5 +69,8 @@
"type-fest": "^4.3.1",
"typescript": "^5.2.2",
"xo": "^0.56.0"
},
"engines": {
"node": ">=18"
}
}

0 comments on commit 1baff85

Please sign in to comment.