Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit e3db736

Browse files
authored
Merge pull request #2 from mohebifar/fix-workflows
chore: Fix workflows
2 parents dabddcc + 3a7236b commit e3db736

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cache: "yarn"
2626

2727
- name: Install dependencies
28-
run: yarn
28+
run: yarn install --frozen-lockfile
2929

3030
- name: Build
3131
run: yarn build

.github/workflows/release.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,28 @@ jobs:
1111
release:
1212
name: Release
1313
runs-on: ubuntu-latest
14+
permissions:
15+
id-token: write
16+
contents: write
17+
packages: write
18+
pull-requests: write
19+
issues: read
20+
1421
steps:
15-
- name: Checkout Repo
16-
uses: actions/checkout@v3
22+
- name: Check out code
23+
uses: actions/checkout@v4
1724

18-
- name: Setup Node.js 20.x
19-
uses: actions/setup-node@v3
25+
- name: Setup Node.js environment
26+
uses: actions/setup-node@v4
2027
with:
21-
node-version: 20.x
28+
node-version: 20
29+
cache: "yarn"
2230

2331
- name: Install Dependencies
24-
run: yarn
32+
run: yarn install --frozen-lockfile
33+
34+
- name: Build
35+
run: yarn build
2536

2637
- name: Create Release Pull Request or Publish to npm
2738
id: changesets

yarn.lock

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6131,7 +6131,6 @@ which@^2.0.1:
61316131
isexe "^2.0.0"
61326132

61336133
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
6134-
name wrap-ansi-cjs
61356134
version "7.0.0"
61366135
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
61376136
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -6212,9 +6211,9 @@ yallist@^4.0.0:
62126211
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
62136212

62146213
yaml@^2.3.4:
6215-
version "2.3.4"
6216-
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2"
6217-
integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==
6214+
version "2.4.0"
6215+
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.0.tgz#2376db1083d157f4b3a452995803dbcf43b08140"
6216+
integrity sha512-j9iR8g+/t0lArF4V6NE/QCfT+CO7iLqrXAHZbJdo+LfjqP1vR8Fg5bSiaq6Q2lOD1AUEVrEVIgABvBFYojJVYQ==
62186217

62196218
yargs-parser@^18.1.2, yargs-parser@^18.1.3:
62206219
version "18.1.3"

0 commit comments

Comments
 (0)