mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-24 17:19:26 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 58112cebd4 | |||
| 496d83e0ee | |||
| 4d9b2c0dc6 | |||
| b7233e8545 | |||
| a39c5ddbda |
@@ -1,5 +1,9 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2.0.2 (6 Nov 2019)
|
||||||
|
|
||||||
|
- Added Git to the Docker image
|
||||||
|
|
||||||
## 2.0.0 (14 Oct 2019)
|
## 2.0.0 (14 Oct 2019)
|
||||||
|
|
||||||
- Migrated to the latest Github Action syntax
|
- Migrated to the latest Github Action syntax
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
FROM node:10.16-alpine
|
FROM node:10.16-alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache git
|
||||||
COPY "entrypoint.sh" "/entrypoint.sh"
|
COPY "entrypoint.sh" "/entrypoint.sh"
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["help"]
|
CMD ["help"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# GitHub Actions for Yarn
|
# 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.
|
This Action for [yarn](https://yarnpkg.com) enables arbitrary actions with the `yarn` command-line client, including testing packages and publishing to a registry.
|
||||||
|
|
||||||
@@ -19,7 +19,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: borales/actions-yarn@v2.0.0
|
- uses: borales/actions-yarn@v2.0.0
|
||||||
with:
|
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
|
> `cmd` value will be used as a command for Yarn
|
||||||
|
|||||||
Reference in New Issue
Block a user