Skip to content

Commit

Permalink
chore(@dpc-sdp/nuxt-ripple-cli): update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
dylankelly authored Aug 17, 2023
1 parent 6dc2326 commit c1afc46
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
always-auth: true
registry-url: 'https://npm.pkg.github.com/'
node-version: 18
scope: '@dpc-sdp'
- name: Install Dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.GPR_NPM_INSTALL_TOKEN}}
- run: npm run build
- run: npm run lint
- run: npm run test:unit
Expand All @@ -22,6 +27,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
always-auth: true
registry-url: 'https://npm.pkg.github.com/'
node-version: 18
scope: '@dpc-sdp'
- name: Cypress run
uses: cypress-io/github-action@v5
env:
Expand All @@ -30,6 +41,7 @@ jobs:
NUXT_PUBLIC_TIDE_SITE: '8888'
NUXT_PUBLIC_API_URL: 'http://localhost:3001'
API_PORT: '3001'
NODE_AUTH_TOKEN: ${{secrets.GPR_NPM_INSTALL_TOKEN}}
with:
build: npm run build
start: npm start
Expand Down

0 comments on commit c1afc46

Please sign in to comment.