diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a953188..fc116e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,16 +23,14 @@ jobs: with: fetch-depth: 0 # for commit linting and semantic-release persist-credentials: false - - if: ${{ env.ACT }} - name: Hack container for local development - run: | - curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - - sudo apt-get install -y nodejs - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 16 - cache: npm + node-version: 18 + - name: Node Package Manager Cache + uses: auguwu/node-pm-action@v1.0.1 + with: + package-manager: npm - uses: actions/setup-python@v4 with: python-version: '3.10' @@ -84,8 +82,11 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 16 - cache: npm + node-version: 18 + - name: Node Package Manager Cache + uses: auguwu/node-pm-action@v1.0.1 + with: + package-manager: npm - uses: actions/setup-python@v4 with: python-version: '3.10'