Compare commits

..

13 Commits

Author SHA1 Message Date
Oleksandr Bordun 045276f30a Installing latest yarn 2020-06-05 09:33:11 +02:00
Oleksandr Bordun b7482b5362 Merge pull request #18 from thepont/master
Install prerequites for native modules
2019-11-14 08:58:32 +01:00
Paul Esson 729ea4ad03 Update Dockerfile
use build-base for g++ and make
2019-11-13 15:02:21 +11:00
Paul Esson 3a3b5a57de Update Dockerfile
add more requirements for native code compile
2019-11-13 15:00:50 +11:00
Paul Esson fb4aea7299 feat: add python 2 since its a dep of node sass 2019-11-13 14:35:04 +11:00
Oleksandr Bordun 3dce3af319 Update README.md 2019-11-11 18:13:56 +01:00
Oleksandr Bordun 57dd002262 Update CHANGELOG.md 2019-11-08 16:43:41 +01:00
Oleksandr Bordun 1e151b00df Update Dockerfile 2019-11-08 16:43:05 +01:00
Oleksandr Bordun 58112cebd4 Update CHANGELOG.md 2019-11-06 18:00:16 +01:00
Oleksandr Bordun 496d83e0ee Update CHANGELOG.md 2019-11-06 17:59:38 +01:00
Oleksandr Bordun 4d9b2c0dc6 Installing Git 2019-11-06 17:59:03 +01:00
Borales b7233e8545 Updating README 2019-10-21 19:57:29 +02:00
Borales a39c5ddbda Updating README 2019-10-21 19:56:30 +02:00
3 changed files with 21 additions and 3 deletions
+8
View File
@@ -1,5 +1,13 @@
# CHANGELOG
## 2.1.0 (8 Nov 2019)
- Switching to `node:lts` docker image
## 2.0.2 (6 Nov 2019)
- Added Git to the Docker image
## 2.0.0 (14 Oct 2019)
- Migrated to the latest Github Action syntax
+2 -1
View File
@@ -1,5 +1,6 @@
FROM node:10.16-alpine
FROM node:lts-alpine
RUN apk add --no-cache git python2 build-base yarn
COPY "entrypoint.sh" "/entrypoint.sh"
ENTRYPOINT ["/entrypoint.sh"]
CMD ["help"]
+11 -2
View File
@@ -1,9 +1,12 @@
# GitHub Actions for Yarn
> Look https://github.com/actions/npm for more details.
> Look [https://github.com/actions/npm](github.com/actions/npm) for more details.
This Action for [yarn](https://yarnpkg.com) enables arbitrary actions with the `yarn` command-line client, including testing packages and publishing to a registry.
> **Please keep in mind** that this Action was originally written for GitHub Actions beta (when Docker was the only way of doing things).
Consider using [actions/setup-node](https://github.com/actions/setup-node) to work with Yarn. This repository will be mostly supporting the existing flows.
## Usage
An example workflow how to install packages via Yarn (using repository syntax):
@@ -19,7 +22,13 @@ jobs:
- uses: actions/checkout@v1
- uses: borales/actions-yarn@v2.0.0
with:
cmd: install
cmd: install # will run `yarn install` command
- uses: borales/actions-yarn@v2.0.0
with:
cmd: build # will run `yarn build` command
- uses: borales/actions-yarn@v2.0.0
with:
cmd: test # will run `yarn test` command
```
> `cmd` value will be used as a command for Yarn