Skip to content

Commit

Permalink
Bumped node version. Added workflow for package publishment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArSn committed Nov 8, 2020
1 parent 466e343 commit 70effaf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish package

on:
push:
tags:
- '*'

jobs:
publish-package:
name: Run yarn publish
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Publish new version to NPM
uses: actions/setup-node@v1
with:
node-version: 14.15.0
registry-url: 'https://registry.npmjs.org'
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2.4'
services:
node:
image: node:11.15.0-alpine
image: node:14.15.0-alpine
command: sh -c 'yarn install && yarn run test'
working_dir: /app
volumes:
Expand Down

0 comments on commit 70effaf

Please sign in to comment.