Skip to content

Commit

Permalink
yarn and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
doman412 committed Dec 21, 2020
1 parent 2c8529f commit e93d610
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gpr_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install
- run: yarn
- run: yarn test

publish-gpr:
Expand All @@ -27,7 +27,8 @@ jobs:
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: yarn install
- run: yarn publish
scope: '@ludic'
- run: yarn
- run: yarn npm publish --tag $GITHUB_REF
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ npm-debug.log
# editor stuff
.vscode

# yarn stuff
.yarn/*
!.yarn/releases
!.yarn/plugins
.pnp.*

# mac stuff
.DS*

Expand Down
55 changes: 55 additions & 0 deletions .yarn/releases/yarn-berry.cjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarnPath: ".yarn/releases/yarn-berry.cjs"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ludic/ludic",
"version": "0.0.2",
"version": "0.0.3",
"description": "Typescript Game Engine",
"main": "dist/ludic.umd.js",
"module": "dist/ludic.es.js",
Expand All @@ -15,7 +15,7 @@
"test:e2e": "ts-mocha tests/e2e/**/*.spec.ts",
"test:performance": "ts-mocha tests/performance/**/*.spec.ts",
"build:test": "yarn run build && yarn run test",
"prepublishOnly": "yarn run build"
"prepublish": "yarn run build"
},
"files": [
"dist",
Expand Down

0 comments on commit e93d610

Please sign in to comment.