Commit 3b32d1ea by mingyuan

update actions to v2

parent c5336ec8
...@@ -18,7 +18,7 @@ jobs: ...@@ -18,7 +18,7 @@ jobs:
- 5432:5432 - 5432:5432
steps: steps:
- name: Fetch Project - name: Fetch Project
uses: actions/checkout@v1 uses: actions/checkout@v2
with: with:
submodules: recursive submodules: recursive
- name: Set up Ruby and Bundle Install - name: Set up Ruby and Bundle Install
...@@ -27,11 +27,12 @@ jobs: ...@@ -27,11 +27,12 @@ jobs:
ruby-version: 3.0.2 ruby-version: 3.0.2
bundler-cache: true bundler-cache: true
- name: Set up Nodejs - name: Set up Nodejs
uses: actions/setup-node@v1 uses: actions/setup-node@v2
with: with:
node-version: 16.3.0 node-version: 16.3.0
cache: 'yarn'
- name: Cache Node Modules - name: Cache Node Modules
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: test/dummy/node_modules path: test/dummy/node_modules
key: ${{ runner.OS }}-yarn-${{ hashFiles('test/dummy/yarn.lock') }} key: ${{ runner.OS }}-yarn-${{ hashFiles('test/dummy/yarn.lock') }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment