Skip to content

Commit

Permalink
Update nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xF6 committed Jun 8, 2021
1 parent 7afbe04 commit 6c1de2f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
with:
node-version: 12
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
npm install --global yarn
yarn build
yarn test
env:
CI: true
- run: echo "@0xF6:registry=https://npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- run: npm publish

0 comments on commit 6c1de2f

Please sign in to comment.