Skip to content

Commit 77daa14

Browse files
committed
reverted release job
1 parent 7d71f4e commit 77daa14

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525
yarn nx test style-lib --ci --codeCoverage
2626
yarn nx build style-lib
2727
artifacts-path: |
28-
dist/
28+
dist
2929
coverage
30+
package.jsno
3031
artifacts-name: dist-and-coverage-artifacts
31-
final-commands: |
32-
ls -la ./
33-
ls -la dist/packages/style-lib/
34-
npx semantic-release
32+
# final-commands: |
33+
# ls -la ./
34+
# ls -la dist/packages/style-lib/
35+
# npx semantic-release
3536

3637
agents:
3738
name: Nx Cloud - Agents
@@ -42,31 +43,30 @@ jobs:
4243
with:
4344
number-of-agents: 3
4445

45-
# release:
46-
# runs-on: ubuntu-latest
47-
# needs:
48-
# - main
49-
# steps:
50-
# - uses: actions/checkout@v3
51-
# with:
52-
# fetch-depth: 0
46+
release:
47+
runs-on: ubuntu-latest
48+
needs:
49+
- main
50+
steps:
51+
- uses: actions/checkout@v3
52+
with:
53+
fetch-depth: 0
5354

54-
# - uses: actions/download-artifact@v3
55-
# with:
56-
# name: dist-and-coverage-artifacts
57-
# path: dist
55+
- uses: actions/download-artifact@v3
56+
with:
57+
name: dist-and-coverage-artifacts
5858

59-
# - name: Use Node.js
60-
# uses: actions/setup-node@v3
61-
# with:
62-
# node-version: '18'
59+
- name: Use Node.js
60+
uses: actions/setup-node@v3
61+
with:
62+
node-version: '18'
6363

64-
# - run: yarn install --frozen-lockfile
64+
- run: yarn install --frozen-lockfile
6565

66-
# - name: Release
67-
# run: |
68-
# ls -la ./
69-
# ls -la dist/packages/style-lib/*
70-
# npx semantic-release
71-
# env:
72-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
- name: Release
67+
run: |
68+
ls -la ./
69+
ls -la dist/packages/style-lib/*
70+
npx semantic-release
71+
env:
72+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)