Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Apr 24, 2022
1 parent f3b4814 commit 4dcf1b7
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/gh-publish.yml
Expand Up @@ -13,26 +13,28 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install
node-version: lts/*
- name: npm install
run: npm install --ignore-scripts
- run: npm run build --if-present
- run: npm test

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install
- uses: actions/setup-node@v2
node-version: lts/*
- name: npm install
run: npm install --ignore-scripts
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: lts/*
registry-url: 'https://npm.pkg.github.com'
- run: npm publish
env:
Expand Down

0 comments on commit 4dcf1b7

Please sign in to comment.