Skip to content

Commit

Permalink
ci: update to node 18
Browse files Browse the repository at this point in the history
replace caching action due to
actions/setup-node#712
  • Loading branch information
dvirtz committed Sep 10, 2023
1 parent 376be8b commit a455c66
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit a455c66

Please sign in to comment.