diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c1bbf7a..a3a37f2 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -5,16 +5,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - uses: actions/setup-node@v1 - with: - node-version: 12.x - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS - key: ${{ runner.os }}-build-${{ github.repository }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: ${{ runner.os }}-build-${{ github.repository }}- + node-version: 16.x + cache: npm - run: npm ci - run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2938ded..6fda3ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: SHOW_DEBUG: true THROW_ERR: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: someimportantcompany/github-actions-slack-message@master uses: ./