diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3725531..014df84 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,26 +5,25 @@ name: Tests on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] + +permissions: + contents: read jobs: build: - runs-on: ubuntu-latest - strategy: matrix: - node-version: [14.x, 16.x, 17.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - + node-version: [20.x, 22.x, 24.x] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build - - run: npm test + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build + - run: npm test diff --git a/package-lock.json b/package-lock.json index 5aab260..5a0d96b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cooklang/cooklang-ts", - "version": "1.2.6", + "version": "1.2.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@cooklang/cooklang-ts", - "version": "1.2.6", + "version": "1.2.7", "license": "MIT", "devDependencies": { "@types/jest": "^27.5.0",