Skip to content

Commit 8e7f169

Browse files
committed
Alpha version, generated from commit a0170d9
1 parent fc3c04b commit 8e7f169

File tree

16 files changed

+14765
-1775
lines changed

16 files changed

+14765
-1775
lines changed

.github/workflows/generate.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- 'main'
77

8+
env:
9+
YARN_COMPRESSION_LEVEL: 0
10+
YARN_ENABLE_GLOBAL_CACHE: true
11+
812
jobs:
913
release:
1014
runs-on: ubuntu-latest
@@ -31,29 +35,18 @@ jobs:
3135
else
3236
echo "create_release=yes" >> $GITHUB_ENV
3337
fi
34-
- name: Cache node modules
35-
uses: actions/cache@v2
36-
env:
37-
cache-name: npm
38-
with:
39-
path: |
40-
~/.npm
41-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
42-
restore-keys: |
43-
${{ runner.os }}-build-${{ env.cache-name }}-
44-
${{ runner.os }}-build-
45-
${{ runner.os }}-
46-
47-
- name: Use Node.js 12
48-
uses: actions/setup-node@v1
38+
39+
- name: Use Node.js 16
40+
uses: actions/setup-node@v2
4941
with:
50-
node-version: 12
42+
node-version: 16
43+
cache: 'yarn'
5144

5245
- name: 📦 Install dependencies
53-
run: npm ci
46+
run: yarn install --immutable
5447

5548
- name: 🔨 Build Project
56-
run: npm run package
49+
run: yarn package
5750

5851
- name: Checkout release branch
5952
uses: actions/checkout@v2
@@ -67,7 +60,8 @@ jobs:
6760
# Copy build
6861
cp -r dist release
6962
cp package.json release/
70-
cp package-lock.json release/
63+
cp yarn.lock release/
64+
cp -r .yarn release/
7165
cp action.yml release/
7266
7367
# Copy pipelines

.github/workflows/test.yml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,34 @@ on: # rebuild any PRs and main branch changes
66
branches:
77
- main
88

9+
env:
10+
YARN_COMPRESSION_LEVEL: 0
11+
YARN_ENABLE_GLOBAL_CACHE: true
12+
913
jobs:
1014
build: # make sure build/ci work properly
1115
runs-on: ubuntu-latest
1216
steps:
1317
- name: Checkout commit
1418
uses: actions/checkout@v2
1519

16-
- name: Cache node modules
17-
uses: actions/cache@v2
18-
env:
19-
cache-name: npm
20-
with:
21-
path: |
22-
~/.npm
23-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
24-
restore-keys: |
25-
${{ runner.os }}-build-${{ env.cache-name }}-
26-
${{ runner.os }}-build-
27-
${{ runner.os }}-
28-
29-
- name: Use Node.js 12
30-
uses: actions/setup-node@v1
20+
- name: Use Node.js 16
21+
uses: actions/setup-node@v2
3122
with:
32-
node-version: 12
23+
node-version: 16
24+
cache: 'yarn'
3325

3426
- name: 📦 Install dependencies
35-
run: npm ci
27+
run: yarn install --immutable
3628

3729
- name: Checks
3830
run: |
39-
npm run lint
40-
npm run build
41-
npm run test
31+
yarn lint
32+
yarn build
33+
yarn test
4234
4335
- name: 🔨 Package Action
44-
run: npm run package:action
36+
run: yarn package:action
4537

4638
- name: Test Action - Build
4739
uses: ./

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,15 @@ typings/
6262
# Output of 'npm pack'
6363
*.tgz
6464

65-
# Yarn Integrity file
65+
# Yarn
6666
.yarn-integrity
67+
.yarn/*
68+
!.yarn/patches
69+
!.yarn/releases
70+
!.yarn/plugins
71+
!.yarn/sdks
72+
!.yarn/versions
73+
.pnp.*
6774

6875
# dotenv environment variables file
6976
.env

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# http://docs.gitlab.com/ce/ci/yaml/README.html
22

3-
image: node:12
3+
image: node:16
44

55
workflow:
66
rules:

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 28 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/releases/yarn-3.1.1.cjs

Lines changed: 768 additions & 0 deletions
Large diffs are not rendered by default.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12-alpine
1+
FROM node:16-alpine
22

33
WORKDIR /usr/local/jira-ci-cd-integration
44

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ inputs:
3535
required: false
3636
description: Will be parsed from branch name automatically if not provided.
3737
runs:
38-
using: 'node12'
38+
using: 'node16'
3939
main: 'dist/github/index.js'

0 commit comments

Comments
 (0)