Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
chore: github actions updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Enase committed Jun 12, 2023
1 parent c4c8bb2 commit 0e3b36b
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 27 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:

steps:
- name: "Checkout source code"
uses: "actions/checkout@v2.3.4"
uses: "actions/checkout@v3"
with:
lfs: true
fetch-depth: 0

- id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: "actions/cache@v2.1.6"
- name: "🔧 setup node"
uses: actions/setup-node@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
cache: "yarn"
node-version: 16
cache-dependency-path: "yarn.lock"

- run: "yarn install --frozen-lockfile"
- run: "yarn lint"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:

steps:
- name: "Checkout source code"
uses: "actions/checkout@v2.3.4"
uses: "actions/checkout@v3"
with:
lfs: true
fetch-depth: 0

- id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: "actions/cache@v2.1.6"
- name: "🔧 setup node"
uses: actions/setup-node@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
cache: "yarn"
node-version: 16
cache-dependency-path: "yarn.lock"

- run: "yarn install --frozen-lockfile"
- run: "yarn lint"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:

steps:
- name: "Checkout source code"
uses: "actions/checkout@v2.3.4"
uses: "actions/checkout@v3"
with:
lfs: true
fetch-depth: 0

- id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: "actions/cache@v2.1.6"
- name: "🔧 setup node"
uses: actions/setup-node@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
cache: "yarn"
node-version: 16
cache-dependency-path: "yarn.lock"

- run: "yarn install --frozen-lockfile"
- run: "yarn lint"
Expand Down
4 changes: 1 addition & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"version": "1.2.1",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"command": {
"version": {
"allowBranch": "master",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"config": {
"eslintPaths": ".*.js *.js",
"prettierPaths": "*.{json,md,yaml,yml} .github/**/*.{json,md,yaml,yml} !package.json !lerna.json"
"prettierPaths": "*.{json,md} .github/**/*.yml"
},
"scripts": {
"test": "yarn jest --env=node --colors",
Expand Down Expand Up @@ -49,7 +49,7 @@
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"lerna": "^4.0.0",
"prettier": "^2.1.2",
"prettier": "^2.8.8",
"typescript": "4.2.4"
},
"eslintIgnore": [
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8755,10 +8755,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier@^2.1.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==
prettier@^2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==

pretty-format@^26.0.0, pretty-format@^26.6.2:
version "26.6.2"
Expand Down

0 comments on commit 0e3b36b

Please sign in to comment.