diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 74c7ac0252..ceb6bd8e60 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,9 +22,9 @@ jobs: persist-credentials: false - name: Setup Node.js 🔧 - uses: actions/setup-node@v2 + uses: actions/setup-node@v3.8.1 with: - node-version: 14.x + node-version: 16.x - name: Update npm 🚀 run: npm install -g npm@latest diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index d5052f57f9..07f05fd319 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -13,14 +13,15 @@ jobs: with: persist-credentials: false - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v3.8.1 with: - node-version: '12' - - - name: Install Prettier - run: npm install -g prettier - + node-version: 16.x + + - name: Install 🔧 # Install dependencies + run: | + npm install + - name: Check Format run: | - prettier -c "./**/*.{js,css,json}" + npm run check-format