diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74a8446..ed107eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,12 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* - name: Install Packages run: npm install @@ -30,21 +30,21 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [12.22.0, 12, 14, 16, 18, 20] + node: [18.18.0, 18.x, 20.x, 21.x] include: - os: windows-latest - node: 18 + node: lts/* - os: macOS-latest - node: 18 + node: lts/* runs-on: ${{ matrix.os }} permissions: contents: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} diff --git a/package.json b/package.json index 9f06a96..d42073a 100644 --- a/package.json +++ b/package.json @@ -60,5 +60,8 @@ "prettier": "^2.6.2", "semantic-release": "^19.0.2", "yorkie": "^2.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }