Browse Source

chore: update ci configuration to new node version and rtl branch release

pull/305/head
Morteza Karimi 3 years ago
parent
commit
add31bd8eb
No known key found for this signature in database GPG Key ID: D1170F1DE56C9779
2 changed files with 11 additions and 11 deletions
  1. +6
    -6
      .github/workflows/merge.yml
  2. +5
    -5
      .github/workflows/release.yml

+ 6
- 6
.github/workflows/merge.yml View File

@ -1,9 +1,9 @@
name: Merge checks
on:
on:
pull_request:
branches:
- master
- master-rtl
jobs:
build:
@ -11,8 +11,8 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3
@ -25,11 +25,11 @@ jobs:
run: |
npm install
npm run build
- name: Get version
run: echo "::set-output name=version::v$(./ci/getVersion.sh)"
id: version
- name: Verify version
run: |
./ci/verifyVersion.sh ${{ steps.version.outputs.version }}
./ci/verifyVersion.sh ${{ steps.version.outputs.version }}

+ 5
- 5
.github/workflows/release.yml View File

@ -2,7 +2,7 @@ name: NodeJS with Webpack
on:
push:
branches: [ "master" ]
branches: [ "master-rtl" ]
jobs:
build:
@ -10,8 +10,8 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3
@ -27,7 +27,7 @@ jobs:
zip -r -j static_minified.zip dist/*
npm run release:unminified
zip -r -j static_unminified.zip dist/*
- name: Get version
run: echo "::set-output name=version::v$(./ci/getVersion.sh)"
id: version
@ -47,4 +47,4 @@ jobs:
static_unminified.zip
fail_on_unmatched_files: true
prerelease: false
draft: false
draft: false

Loading…
Cancel
Save