Skip to content

Commit

Permalink
Revision a5a7b71
Browse files Browse the repository at this point in the history
  • Loading branch information
qawolf-team committed May 14, 2024
1 parent aa38ee3 commit 529fb4c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
pull-requests: read
steps:
- name: Create QA Wolf environment
uses: qawolf/preview-testing-action@v0.1.8-beta
uses: qawolf/preview-testing-action@v0.2.3
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
pull-requests: read
steps:
- name: Test preview environment
uses: qawolf/preview-testing-action@v0.1.8-beta
uses: qawolf/preview-testing-action@v0.2.3
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
pull-requests: read
steps:
- name: Delete PR testing environment
uses: qawolf/preview-testing-action@v0.1.8-beta
uses: qawolf/preview-testing-action@v0.2.3
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58708,8 +58708,8 @@ async function createEnvironmentVariables({ environmentId, variables, qawolfApiK
const environmentVariableRequests = Object.keys(variables).map(async (key) => {
const value = variables[key];
return axios_1.default.post(constants_1.qawolfGraphQLEndpoint, {
query: `mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String) {
upsertEnvironmentVariable(environment_id: $environmentId, value: $value, name: $name) {
query: `mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String!) {
upsertEnvironmentVariable(environmentId: $environmentId, value: $value, name: $name) {
id
}
}`,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@qawolf/preview-testing-action",
"type": "commonjs",
"version": "0.0.1",
"version": "v0.2.3",
"main": "dist/index.js",
"engines": {
"node": "^16 || ^18 || ^20"
Expand Down
4 changes: 2 additions & 2 deletions src/createEnvironmentVariables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export async function createEnvironmentVariables({
return axios.post(
qawolfGraphQLEndpoint,
{
query: `mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String) {
upsertEnvironmentVariable(environment_id: $environmentId, value: $value, name: $name) {
query: `mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String!) {
upsertEnvironmentVariable(environmentId: $environmentId, value: $value, name: $name) {
id
}
}`,
Expand Down

0 comments on commit 529fb4c

Please sign in to comment.