-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 897 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Continuous Integration and Deployment
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
continuous_integration:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
steps:
- name: Checkout code 🛎️
uses: actions/checkout@v3
with:
clean: true
- name: Set Node Version
uses: actions/setup-node@v3
with:
node-version: 20.13.1
- name: Setup .npmrc file
run: |
echo "@3um-group:registry=https://npm.pkg.github.com/" > ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
- name: Install Packages
run: npm install --legacy-peer-deps
# - name: Run Test
# run: npm run test