Skip to content

Commit 1cf4ebc

Browse files
committed
Attempt to fix the actions
Signed-off-by: Mihai Maruseac <[email protected]>
1 parent f82a7e1 commit 1cf4ebc

File tree

2 files changed

+26
-21
lines changed

2 files changed

+26
-21
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "/release"
1+
name: Release
22
on:
33
push:
44
tags:

.github/workflows/workflow.yml

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
name: "hlint-setup"
1+
name: CI
2+
23
on:
3-
pull_request:
44
push:
5-
branches:
6-
- master
7-
- 'releases/*'
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
types: [opened, synchronize]
9+
10+
permissions: {}
811

912
jobs:
1013
unit-tests:
@@ -15,21 +18,23 @@ jobs:
1518
with:
1619
node-version: "16"
1720
cache: "yarn"
18-
cache-dependency-path: .-setup/yarn.lock
19-
- run: yarn
20-
- run: yarn test
21-
22-
test:
23-
runs-on: ubuntu-latest
24-
steps:
25-
- uses: actions/checkout@v4
26-
- uses: actions/setup-node@v3
27-
with:
28-
node-version: "16"
29-
cache: "yarn"
30-
cache-dependency-path: .-setup/yarn.lock
21+
cache-dependency-path: ./yarn.lock
3122
- run: yarn
3223
- run: yarn compile
3324
- run: yarn package
34-
- uses: ./
35-
- run: hlint --version
25+
- run: yarn test
26+
27+
#test:
28+
# runs-on: ubuntu-latest
29+
# steps:
30+
# - uses: actions/checkout@v4
31+
# - uses: actions/setup-node@v3
32+
# with:
33+
# node-version: "16"
34+
# cache: "yarn"
35+
# cache-dependency-path: .-setup/yarn.lock
36+
# - run: yarn
37+
# - run: yarn compile
38+
# - run: yarn package
39+
# - uses: ./
40+
# - run: hlint --version

0 commit comments

Comments
 (0)