diff --git a/.github/workflows/GHPages.yml b/.github/workflows/GHPages.yml index 5068c46..81ca595 100644 --- a/.github/workflows/GHPages.yml +++ b/.github/workflows/GHPages.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 14 diff --git a/.github/workflows/NodeCI.yml b/.github/workflows/NodeCI.yml index 1916205..2b2878b 100644 --- a/.github/workflows/NodeCI.yml +++ b/.github/workflows/NodeCI.yml @@ -10,7 +10,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 - name: Install Packages run: npm install @@ -22,7 +22,7 @@ jobs: matrix: node-version: [12.x, 14.x, 16.x, 17.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: @@ -34,7 +34,7 @@ jobs: test-with-eslint6: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 14.x @@ -51,7 +51,7 @@ jobs: matrix: node-version: [14.x, 16.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 75b5771..73d4ee1 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 diff --git a/tests/src/utils/rules.ts b/tests/src/utils/rules.ts index 0f0d2ce..7915cb9 100644 --- a/tests/src/utils/rules.ts +++ b/tests/src/utils/rules.ts @@ -32,10 +32,9 @@ function getDirRules() { const ruleId = `toml/${ruleName}`; // eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports -- for test - const rule = require(path.join( - vueCustomBlockRulesLibRoot, - filename, - )).default; + const rule = require( + path.join(vueCustomBlockRulesLibRoot, filename), + ).default; rules[ruleId] = rule; } return rules;