mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use setup-node action to setup nodejs runtime
This commit is contained in:
parent
975b93a31b
commit
91787fc5dd
1 changed files with 4 additions and 2 deletions
6
.github/workflows/run-tests.yaml
vendored
6
.github/workflows/run-tests.yaml
vendored
|
|
@ -50,8 +50,10 @@ jobs:
|
|||
psql --host localhost --port ${{ job.services.postgres.ports[5432] }} --user postgres --password -c "CREATE DATABASE omnivore_test;"
|
||||
env:
|
||||
PGPASSWORD: postgres
|
||||
- name: Setup nodejs 14.18
|
||||
run: source ~/.nvm/nvm.sh && nvm install 14.18 && nvm use 14.18 && npm install -g yarn
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14.18
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(source ~/.nvm/nvm.sh && yarn cache dir)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue