Skip to content

Commit 10ab044

Browse files
committed
Updated github actions
1 parent 8d73726 commit 10ab044

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Diff for: .eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
.eslintrc.js
3+
minver
34
node_modules
45
example/svelte-kit/.svelte-kit
56

Diff for: .github/workflows/build.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,25 @@ jobs:
1111
- macos-latest
1212
- windows-latest
1313
node_version:
14-
- 18
14+
- 20
1515
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121
- name: Build Reason
2222
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
2323
- name: Setup Node.js environment
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node_version }}
2727
registry-url: "https://registry.npmjs.org"
28-
- name: Install latest NPM
29-
run: npm install -g npm@9
3028
- name: Set Min Version
3129
uses: Stelzi79/action-minver@3.0.1
3230
id: version
3331
with:
34-
minimum-major-minor: 2.0
32+
minimum-major-minor: 3.0
3533
tag-prefix: v
3634
- name: Build Version
3735
run: |
@@ -52,7 +50,7 @@ jobs:
5250
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
5351
- name: Setup GitHub CI Node.js environment
5452
if: github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
55-
uses: actions/setup-node@v2
53+
uses: actions/setup-node@v4
5654
with:
5755
node-version: ${{ matrix.node_version }}
5856
registry-url: "https://npm.pkg.github.com"

Diff for: .prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
node_modules
3+
minver
34
example/svelte-kit/.svelte-kit
45

56
# Ignore files for PNPM, NPM and YARN

0 commit comments

Comments
 (0)