Compare commits

...

21 Commits

Author SHA1 Message Date
Oleksandr Bordun d8ce577a6f Merge pull request #45 from richard-chim/master
Update python2 to python3 in Dockerfile
2022-06-08 08:49:13 +02:00
Richard Chim 924bcea8f0 Update python2 to python3 in Dockerfile 2022-06-07 23:38:47 -04:00
Oleksandr Bordun 44293a387e Merge pull request #40 from jarvisuser9/patch-1
Fixing a typo in secret name of NPM_AUTH_TOKEN
2021-10-08 14:01:32 +02:00
John Ciprian 1f7c6fbe9c Fixing a typo in secret name of NPM_AUTH_TOKEN 2021-08-06 10:53:27 -04:00
Oleksandr Bordun f6e2aecf62 Merge pull request #38 from tomeksabala/master
Updated readme examples to latest version
2021-06-18 22:13:59 +02:00
Tomasz Sabała 5b0b86cdda Updated readme examples to latest version 2021-06-18 15:00:28 +02:00
Oleksandr Bordun 6207ca676f Update README.md 2020-11-17 20:30:55 +01:00
Oleksandr Bordun 3eab1c9435 Merge pull request #27 from diegocosta/patch-1
Update README.md
2020-06-20 22:10:58 +02:00
Diego Costa f24ed466bd Update README.md
Fixed the syntax for markdown link.
2020-06-20 16:48:58 -03:00
Oleksandr Bordun c33f8306f2 Merge pull request #26 from lucianomlima/patch-1
Update README.md
2020-06-08 17:08:14 +02:00
Luciano Lima 4ac8b9d200 Update README.md
Change checkout action to v2
2020-06-08 11:39:36 -03:00
Oleksandr Bordun 4965e1a0f0 Forcing yarn update 2020-06-05 09:41:55 +02:00
Oleksandr Bordun 2c3d31468d Installing yarn via npm 2020-06-05 09:39:10 +02:00
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
3 changed files with 16 additions and 8 deletions
+4
View File
@@ -1,5 +1,9 @@
# 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
+3 -2
View File
@@ -1,6 +1,7 @@
FROM node:10.16-alpine
FROM node:lts-alpine
RUN apk add --no-cache git
RUN apk add --no-cache git python3 build-base
RUN npm i -g --force yarn
COPY "entrypoint.sh" "/entrypoint.sh"
ENTRYPOINT ["/entrypoint.sh"]
CMD ["help"]
+9 -6
View File
@@ -1,9 +1,12 @@
# GitHub Actions for Yarn
> Look [https://github.com/actions/npm](github.com/actions/npm) for more details.
> Look [github.com/actions/setup-node](https://github.com/actions/setup-node) 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):
@@ -16,14 +19,14 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: borales/actions-yarn@v2.0.0
- uses: actions/checkout@v2
- uses: borales/actions-yarn@v2.3.0
with:
cmd: install # will run `yarn install` command
- uses: borales/actions-yarn@v2.0.0
- uses: borales/actions-yarn@v2.3.0
with:
cmd: build # will run `yarn build` command
- uses: borales/actions-yarn@v2.0.0
- uses: borales/actions-yarn@v2.3.0
with:
cmd: test # will run `yarn test` command
```
@@ -44,7 +47,7 @@ jobs:
To authenticate with, and publish to, a registry other than `registry.npmjs.org`:
```yml
- uses: borales/actions-yarn@v2.0.0
- uses: borales/actions-yarn@v2.3.0
with:
auth-token: ${{ secrets.NPM_TOKEN }}
registry-url: someOtherRegistry.someDomain.net