diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8f172ec..e84a820 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,12 +8,12 @@ jobs: install: runs-on: ubuntu-latest 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/* cache: npm - run: npm install @@ -21,12 +21,12 @@ jobs: needs: install runs-on: ubuntu-latest 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/* cache: npm - run: npm install - run: npm run lint @@ -35,12 +35,12 @@ jobs: needs: install runs-on: ubuntu-latest 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/* cache: npm - run: npm install - run: npm run check-missing-api @@ -49,12 +49,12 @@ jobs: needs: install runs-on: ubuntu-latest 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/* cache: npm - run: npm install - run: npm run build:lib @@ -79,12 +79,12 @@ jobs: GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} 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/* cache: npm - run: echo -n "${GPG_SECRET_KEY}" > git_gpg_key.asc - run: gpg --batch --yes --import git_gpg_key.asc diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d04c975..0a1d7b9 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -8,10 +8,10 @@ jobs: install: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* cache: npm - run: npm install @@ -19,10 +19,10 @@ jobs: needs: install runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* cache: npm - run: npm install - run: npm run lint @@ -31,10 +31,10 @@ jobs: needs: install runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* cache: npm - run: npm install - run: npm run build:lib