Skip to content

Commit

Permalink
feat(GitHubCI): add job v14
Browse files Browse the repository at this point in the history
  • Loading branch information
tehraninasab committed Feb 25, 2023
1 parent 44729ea commit 2dbadff
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,40 @@ jobs:
name: repo
path: ${{ github.workspace }}

v14:
runs-on: ubuntu-22.04
needs: checkout_code
container:
image: "node:14-buster"
steps:
- name: Install sudo
run: |
apt update
apt install -y sudo
- name: Setup file system permissions
run: sudo chmod -R 777 $GITHUB_WORKSPACE /github /__w/_temp
- name: Get repository's content
uses: actions/download-artifact@v3
with:
name: repo
- uses: actions/cache@v3
with:
path: node_modules
key: v1-dependencies-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
v1-dependencies-${{ hashFiles('**/yarn.lock') }}
v1-dependencies-
- name: Update yarn
run: |
node -v
yarn global add yarn@latest
- name: Install dependencies
run: yarn install --ignore-engines --frozen-lockfile
- name: Build packages
run: yarn build
- name: Test
run: yarn test-ci

v16:
runs-on: ubuntu-22.04
needs: checkout_code
Expand Down

0 comments on commit 2dbadff

Please sign in to comment.