Skip to content

Commit de03866

Browse files
authored
Updated CI/CD workflow (#109)
* chore: Dropped Node 12 support * chore: Updated Node to v16 and GitHub actions to v3 Co-authored-by: ijlee2 <ijlee2@users.noreply.github.com>
1 parent 3aa2496 commit de03866

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/ci-cd.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ on:
77
pull_request:
88

99
env:
10-
NODE_VERSION: 14
10+
NODE_VERSION: 16
1111
PERCY_PARALLEL_NONCE: ${{ github.run_id }}-${{ github.run_number }}
1212
PERCY_PARALLEL_TOTAL: 1
1313

1414
jobs:
1515
lint:
16-
name: Lint files and dependencies
16+
name: Lint files
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 3
1919
steps:
2020
- name: Check out a copy of the repo
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222

2323
- name: Use Node.js ${{ env.NODE_VERSION }}
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v3
2525
with:
2626
cache: 'yarn'
2727
node-version: ${{ env.NODE_VERSION }}
@@ -39,10 +39,10 @@ jobs:
3939
timeout-minutes: 5
4040
steps:
4141
- name: Check out a copy of the repo
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v3
4343

4444
- name: Use Node.js ${{ env.NODE_VERSION }}
45-
uses: actions/setup-node@v2
45+
uses: actions/setup-node@v3
4646
with:
4747
cache: 'yarn'
4848
node-version: ${{ env.NODE_VERSION }}
@@ -67,11 +67,11 @@ jobs:
6767
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6868
steps:
6969
- name: Check out a copy of the repo
70-
uses: actions/checkout@v2
70+
uses: actions/checkout@v3
7171

72-
- name: Set up Git user
72+
- name: Set a Git user
7373
run: |
74-
# Set up a Git user for committing
74+
# Set a Git user for committing
7575
git config --global user.name "GitHub Actions"
7676
git config --global user.email "actions@users.noreply.github.com"
7777
@@ -80,7 +80,7 @@ jobs:
8080
"$(git config --local --get http.https://github.com/.extraheader)"
8181
8282
- name: Use Node.js ${{ env.NODE_VERSION }}
83-
uses: actions/setup-node@v2
83+
uses: actions/setup-node@v3
8484
with:
8585
cache: 'yarn'
8686
node-version: ${{ env.NODE_VERSION }}
@@ -89,4 +89,4 @@ jobs:
8989
run: yarn install --frozen-lockfile
9090

9191
- name: Deploy
92-
run: yarn deploy
92+
run: yarn deploy --activate --verbose

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"webpack": "^5.73.0"
8181
},
8282
"engines": {
83-
"node": "12.* || 14.* || >= 16"
83+
"node": "14.* || >= 16"
8484
},
8585
"ember": {
8686
"edition": "octane"

0 commit comments

Comments
 (0)