Skip to content

Commit

Permalink
change env name for token and build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
CordlessWool committed Jan 10, 2024
1 parent 10e6276 commit 02b716f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Build
run: bun ./build.ts
- name: Setup Node for npm
uses: actions/setup-node@v4
with:
node-version: 20
- name: Publish
run: npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#loom
# loom

Is a repository for tool. Currently there is only a filesystem lib, that implement common tools to work easier with the filesystem and reading files and dirs

Expand Down
21 changes: 20 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
{
"name": "@cotton-coding/loom-fs",
"module": "dist/app.js",
"author": "Cotton Coding",
"license": "MIT",
"version": "0.1.0",
"description": "A file system wrapper for Node.js and Bun",
"keywords": [
"bun",
"fs",
"directory",
"dir",
"file",
"file system",
"filesystem",
"node",
"nodejs",
"wrapper"
],
"files": [
"dist"
],
Expand All @@ -25,5 +41,8 @@
"dependencies": {
"yaml": "^2.3.4"
},
"version": "0.1.0"
"exports": {
".": "./dist/app.js"
}

}

0 comments on commit 02b716f

Please sign in to comment.