Skip to content

Commit

Permalink
feat: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesalmon-mysense committed May 5, 2023
1 parent d3cc232 commit 7613448
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- master

env:
GH_TOKEN: ${{ secrets.GH_TOKEN_ADMIN_USER }}

jobs:
tests:
name: Tests and Coverage
Expand All @@ -27,6 +30,7 @@ jobs:
with:
node-version: ${{ matrix.version }}
registry-url: 'https://npm.pkg.github.com'
cache: 'yarn'

- name: Install packages
run: yarn install --frozen-lockfile
Expand All @@ -47,15 +51,11 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN_ADMIN_USER }}

- name: Install packages
run: yarn install --frozen-lockfile

- name: Build and publish to NPM
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN_USER }}
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN_ADMIN_USER }}
run: |
echo "Building..."
yarn build:ci
Expand Down

0 comments on commit 7613448

Please sign in to comment.