diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7244a39..54ccf54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,11 +2,9 @@ name: Run Tests on: push: - branches: - - main + branches: [ main ] pull_request: - branches: - - main + branches: [ main ] jobs: build: @@ -15,25 +13,25 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [ 18.x, 20.x ] steps: - - name: Checkout code - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} - - name: Install Dependencies - run: npm ci + - name: Install Dependencies + run: npm ci - - name: Run Build - run: npm run build + - name: Build + run: npm run build - - name: Lint Check - run: npm run lint --if-present + - name: Lint + run: npm run lint --if-present - - name: Validate tests - run: npm run test --if-present + - name: Tests + run: npm run test --if-present diff --git a/package.json b/package.json index 418f9b2..341b08f 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,12 @@ { "name": "clancy", - "version": "0.0.1", + "version": "0.1.0", "description": "A library for deriving non-image data from image files", "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "source": "src/index.ts", - "engines": { - "node": "^18.19.0 || ^20.11.0 || >=21.6.0" - }, - "files": [ - "dist", - "package.json" - ], "exports": { ".": { "import": { @@ -26,6 +19,13 @@ } } }, + "files": [ + "dist", + "package.json" + ], + "engines": { + "node": "^18.19.0 || ^20.11.0 || >=21.6.0" + }, "scripts": { "prepublish": "npm run build", "build": "tsup",