Skip to content

Commit

Permalink
Release package under workduck (#1)
Browse files Browse the repository at this point in the history
#1

* removed unnecessary files and package lock;

Signed-off-by: Sahil Shubham <[email protected]>

* updated publish config and added new action;

Signed-off-by: Sahil Shubham <[email protected]>

* committing yarn lock;

Signed-off-by: Sahil Shubham <[email protected]>

---------

Signed-off-by: Sahil Shubham <[email protected]>
  • Loading branch information
sahil-shubham authored Jul 10, 2023
1 parent d44d35b commit ba7a5a1
Show file tree
Hide file tree
Showing 15 changed files with 4,216 additions and 14,975 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and Publish the Package
on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YARN_TOKEN: ${{ secrets.YARN_TOKEN }}
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
always-auth: true
node-version: "16.x"
- run: npm install -g yarn
- run: yarn --no-default-rc
- run: yarn build
- run: npm publish
24 changes: 0 additions & 24 deletions .github/workflows/publish_package.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/pull-request.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
coverage
node_modules
npm-debug.log*
yarn*
examples
dist/*
dist/*
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/prettier.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/reconnecting-websocket.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
registry=https://npm.pkg.github.com/@workduck-io
registry=https://registry.npmjs.org
@workduck-io:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${YARN_TOKEN}
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit ba7a5a1

Please sign in to comment.