diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 387dcd6..bc8e4bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 @@ -21,3 +21,9 @@ jobs: - name: Build run: npm run build + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: dist + path: dist/ diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 06319f7..73922e8 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -14,9 +14,10 @@ jobs: commitlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: wagoid/commitlint-github-action@v4 with: configFile: .commitlintrc.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b274eb4..97d589a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,10 +21,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 diff --git a/.github/workflows/test-lint.yml b/.github/workflows/test-lint.yml index 556e10f..7f2a9da 100644 --- a/.github/workflows/test-lint.yml +++ b/.github/workflows/test-lint.yml @@ -9,10 +9,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 diff --git a/package.json b/package.json index 55cf885..7a8a221 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "The ultimate oppressive style guide.", "scripts": { "build": "rm -rf dist && tsc -p ./tsconfig.build.json", - "lint": "tsc -p ./tsconfig.build.json && eslint src/**", - "test": "tsc -p ./tsconfig.build.json && npm run --prefix=example-project lint", + "lint": "eslint src/**", + "test": "npm run --prefix=example-project lint", "prepare": "husky install", "semantic-release": "semantic-release" },